Hello all,
I wrote a small application (API-10), in order to get its metrics :
...
DisplayMetrics wdm = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(wdm);
msg.setText(wdm.toString);
...
And on a Galaxy Note, I got this result :
DisplayMetrics{density=2.0,width=320,height=480,scaledDensity=2.0,
xdpi=320.0,ydpi=320.0}
AFAIK, the Galaxy Note is 800x1280 ...
Are the metrics depending on the layout ?
What is the scaledDensity ???
Any Guru giving the reason ?
Thanx in advance
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en