after reading some threads, in my mind there is a mess
I am writing an app. I really would like to make it run on different devices with different screen resolution and density. (like all of us). the tomorrow alien device will have a screen res of 1234x567x89
I tried using "dip" instead than absolute coords, but I cannot use them in the emulator (that like working using layouts)
sometimes I see the views "adapt" to the device, sometimes not.
So the question is:
If you need to write an app and you don't know (or you don't want to know) the screen resolution/density of the device, and you don't want to define lots of layouts (during time there will be tons of different screen res)...
what is the best way to do?
:sign0163:
I am writing an app. I really would like to make it run on different devices with different screen resolution and density. (like all of us). the tomorrow alien device will have a screen res of 1234x567x89
I tried using "dip" instead than absolute coords, but I cannot use them in the emulator (that like working using layouts)
sometimes I see the views "adapt" to the device, sometimes not.
So the question is:
If you need to write an app and you don't know (or you don't want to know) the screen resolution/density of the device, and you don't want to define lots of layouts (during time there will be tons of different screen res)...
what is the best way to do?
:sign0163: