How to set my .apk file to run on different screen resolution in android?
- by Arslan
I am using a "WVGA800" for my app. I try to run it on different resolution screens. It it is not perfectly scratching in that resolution .
I read and implement issues form this link.
http://developer.android.com/guide/practices/screens_support.html
But still not result. Please let me know if any one hase a perfect solution.
Main issue are that I am fixing hight & width of Image, textsize etc. When these are displayed
to screen of "WVGA800". But when I test them on "HVGA", "QVGA" then problem arise.
I want to avoid the "if else" conditions by getting the screen resolution at Runtime. If any one hase any solution for this...let me know. Thanks in advance.
I am also wondring when there will be new devices with new screen resolutions?