Search code examples
androidlayoutscreenresolution

Android layout screen resolution problems


I have almost finished my app for android, the problem is when i test it on multiple screen sizes the layout of items such as padding etc, seems to be incorrect. I don't understand how I am supposed to support all screen sizes, because I have used all 'dp' values for the text and sizes for padding etc. I am using the 'background' as an image which fills the screen, and the background includes the layout of buttons and boxes that will have textviews overlaying them. I have been testing on my HTC desire and I have just noticed this issue. I assumed that it would all be okay seeing as I have been using dp for all measurments etc. Any tips to fix my layouts would be appreciated as my app is pretty much good to go apart from this :(


Solution

  • Read the following links very carefully you will get the best way to do:

    1. Supporting Multiple Screens

    2. Support for Multiple Screen Resolutions

    3. Support for additional screen resolutions and densities in Android

    4. compatible-screens

    5. MultiResolution - Multiple Resolutions