[android-developers] Determine notification bar height from a service

2010-06-18 Thread Vitaliy
Hi, The application I'm working on is a service which runs in the background. The problem is that I need to determine the height of the notification bar for some functionality of the service. I found a number of solutions for this, for regular activities - a view inside an activity can determine

Re: [android-developers] Determine notification bar height from a service

2010-06-18 Thread Dianne Hackborn
There is deliberately no API to do this. You can either let your content be resized to account for it in a full-screen window, or let a dialog be positioned by the window manager to account for it. The status bar is not guaranteed to appear at a certain location of the screen, at only one