• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Resolution independent bitmaps

zoorroo4

Lurker
How do i make a bitmap cover the same portion of the screen on all devices?

I got a bitmap inside an imagespan but it shows as really small on devices with good resolution and really huge on older devices with bad resolution.

I tried
[HIGH] bitmap.setDensity(context.getResources().getDisplayMetrics().densityDpi);[/HIGH]
But it didnt change anything. Anyone got any idea of what to do?
 
Back
Top Bottom