ICS notification Bar Sizes in pixels

JTmartins

Active Member
Licensed User
Longtime User
Hi guys,

The app I was doing was set to work with 800 x 480 with 160dp. (fixed landscape mode)

I tested it in a device with ICS 4.0.3, and all was well, with exception that some bitmaps or buttons where under the bottom notification bar.

As that bar can't be hidden (although it can be dimmed, wich does not solve anything pixel wise), I was looking how to resize my app so that it could work OK in ICS devices.

First question was..How big is this bar in pixels?

This is the results I got, after playing a little with lcd.density on the device

FOR ANDROID ICS Screen the Pixel number of the bottom notification bar, according to LCD density appears to be as follows :

120 dpi = 36.00px
160 dpi = 48.00px
240 dpi = 72.00px
320 dpi= 96.00px

If some one can confirm this (as I'm a noob on this android things), it would be helpful.

It works OK in my device, so basically the resolution I take in consideration as available to work is now 800 x (480-48). as 48 pixel are not available anymore.

Thanks
Jose
 
Last edited:

JTmartins

Active Member
Licensed User
Longtime User
I will try

Never actually looked in there....but I'll try.

Still learning the basics, that I'm afraid that more info will confuse me at this point.

Anyway, what I'm trying to do will always be run on 7" tablets, although resolutions and density may differ.

I wish I could send that lower notification bar away...I really hate it, and tests I've done with potential users show me exactly the same thing. Everyone seems it's a stupid bar, in the wrong place, and occasionally their fingers go there unintentionally.

I've seen it go away in new samsung tablets, but I presume that they customized their OS versions to their needs.

Thanks
José
 
Upvote 0
Top