Tuesday, July 3, 2012

[android-developers] Re: Getting action bar height while minSdkVersion is 7

Do you mind showing me a sample code on how this is done? (to get the action bar size)

在 2012年7月3日星期二UTC+8下午9时25分43秒,RichardC写道:
The action bar can also change size with custom (OEM) themes.  So I would take a different approach and find the size of the usable window left to your application.  This is just a case of calling getWidth and getHeight on the root object of your view hierarchy.

--
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


Real Estate