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
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: