You can get the size of the usable area by asking your activity's top-
level view (typically a layout object) for its width and height.  Make
sure your XML file defines an ID for it, then use getViewById to get
the view.  That width and height will be the screen size less the
status bar and title bar (if present), and will vary depending on the
device orientation.
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to