Question

I have develop a simple application and compile it with screen resolution 480*800 mdpi emulator.It shows all images perfectly placed on screen.

I have added images only in drawable folder.

But when i try the same application with 480*800 hdpi emulator the images looks big on the screen and all alignment gets distracted.

Do I need the different image size for mdpi and hdpi pixel density for same screen resolution i.e 480*800 also?

Thanks.

Was it helpful?

Solution

Yes. For different screen densities, you should provide appropriately scaled bitmaps.

This way they will look the best on all devices, without Android having to scale them.

This link should provide you with important information to get started: http://developer.android.com/training/basics/supporting-devices/screens.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top