Status bar in screen

by Daniel Dreiberg » Thu, 30 Apr 2009 04:26:54 GMT

Sponsored Links
How can I find out the height of the status bar programatically?
Thank you.


Status bar in screen

by Dianne Hackborn » Thu, 30 Apr 2009 04:54:35 GMT

 Basically, you don't.  Your content view will be resized for you to account
for it.  Also when you create windows they will be positioned below it,
unless you specify the "layout in screen" flag.

(Now that said, there is this little View.fitSystemWindows() method that
gets called to help the view hierarchy position your content view relative
to screen decorations...  but I would urge against using it, there should be
no need.)

On Wed, Apr 29, 2009 at 1:26 PM, Daniel Dreiberg <

Dianne Hackborn
Android framework engineer

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.


Sponsored Links

Other Threads

1. Free trial and payed apps... How to switch from...

You can't delete an app, AFAIK.
However you can Unpublish it (it will disappear from the market but will
stay in your developer console).

On Wed, Jul 28, 2010 at 7:24 PM, sblantipodi


2. external camera on zoom3 board


I am new to android. right now i am working on zoom3(3630) board with
android os.
Board having one built-in camera with /dev/video5. i want to connect
external camera through usb hub for the board. there i enabled usb hub
through g_zero.ko module and got the kernel messages as one usb hub
has detected.
But when i checked for devices as ls /dev/video*, i didnt see any new
device relate external camera.
May i know any procedure to recognise video camera device for zoom3

Thanks in advance,


3. Google Maps IDEA - Add on App

4. Using SharedPreferences.editor from OnSharedPreferenceChange listener

5. Create Screen Size Independent Android Applications

6. Creating a InputMethod for bluetooth keyboard

7. HOT Requirement for: Biz Talk Devceloper in Houston, TX 6-12 Months