I don't understand why you need to offset your view.  Doesn't your view 
automatically fill the available space and not overlap any other 
view/widget?

If it does please could you explain in more detail what you have done.

On Wednesday, September 12, 2012 12:25:53 PM UTC+1, hwrdprkns wrote:
>
> Greetings, 
>
> I'm using DecorView to insert my own sliding menu (like Facebook, Spotify, 
> etc) but I'm wondering if its possible to tell where the status bar is, as 
> I need to offset my view appropriately. For example, on tablets the status 
> bar is *usually * at the bottom, except on the Nexus 7 where it's at the 
> top. Rather than writing device-specific code, I was wondering if anyone 
> would be able to tell me a general method by which I can tell if the status 
> bar is at the top or bottom of the window. 
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
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