Status bar in screen

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


Sponsored Links
 Hi,
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
hack...@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.

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. The problem of installing Repo

Dear Sirs:

When I follow the steps of installing repo, I face the below errors.

[EMAIL PROTECTED]:~/mydroid$ repo init -u
http://android.git.kernel.org/platform/manifest.git
Getting repo ...
   from git://android.kernel.org/tools/repo.git
fatal: Unable to look up android.kernel.org (port 9418) (Name or
service not known)

Please help me solve this issue.
Thanks a lot.

Best Regards,
Morris Chen

--~--~---------~--~----~------------~-------~--~----~

2. Does android browser support plugins?

Does current android browser support pulgins whether the plugins are
implemented by native code or java?

If it does, how?

As all know, gears is a plugin implemented by google. I investigated
it, unfortunately, I haven't had a clear idea on it, anyone can help
me?

Best Regards
Juliana


--~--~---------~--~----~------------~-------~--~----~

3. Optional Permissions

4. Compile error on Android SDK

5. Looking for an Android developer for howcast.com

6. Newbie.....Plz help..

7. Orientation sensor questions