Question

I am making a graphic intensive application for Android.

The problem i am facing is that on my home screen there are 6 images that are placed on a FrameLayout. Since i own a HTC Desire, I placed the images such that they look great on 3.7in but when i test it on a 5 or a 7in display, the UI goes crazy and there are huge gaps amongst the tiny images which were nice on 3.7in.

How do I fix my app for all screen sizes? How do I scale the images such that there are no gaps?

please help ....

Was it helpful?

Solution

Look out this Supporting Multiple Screens in Android Developers from where you will get the exact answer. You have to create different images and put them in the respected folder's according to the densities.

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