I’m new to Android programming.
I’ve seen different phones with different screen resolutions that run on Android.
How can I create an application that works on all android devices with out any distortion in my application views…..
I’m new to Android programming. I’ve seen different phones with different screen resolutions that
Share
The short answer is to size all your layout items in
dip.dipis short forDensity-independent pixeland Android automatically scales items sized indipto be the same size on different screens. (You can shortendiptodpin your layout XML files.)The long answer is to read this article on the Android developer website. It is long but I highly recommended reading it from beginning to end at least once before you get too far with you application.