Android - Notification bar height from a service
<p>The application I'm working on is a service which runs in the background in android.
The problem is that I need to determine the height of the notification bar for some functionality of the service.</p>

<p>I found a number of solutions for this, for regular activities - 
a view inside an activity can determine its own height without the notification bar, based on checking its actual view size from its onSizeChanged event, after it is already drawn.
However, this is not applicable to a service which has no physical view drawn.</p>

<p>I would really appreciate any ideas on getting the size of the notification bar at a system level, perhaps?</p>

<p>Thanks so much!</p>

<p>Vitaliy</p>
