Re: [android-developers] Usage of DisplayMetrics
On Sat, Jul 21, 2012 at 8:02 PM, Jim Graham <spooky130u@gmail.com> wrote:
I'm not sure I understand.... Are you saying that display.getWidth anddisplay.getHeight don't return valid numbers? Or did I miss something?
I am saying that I don't recommend using them, and I have no good strong use cases for them.
And if that's the case, why even have them in the developers guide?
If I was putting together the 1.0 SDK today, I would think hard about whether or not these go into the SDK.
I don't recommend using them.
Do you have a specific use case where you think they are the right way to go?
Dianne Hackborn
Android framework engineer
hackbod@android.com
Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home