I am developing for Android tablet with 10.1 screen size with 800 x 1280 resolution. I read that the control bar (with buttons: back, home etc.) is 80px height (not sure). So i told the app UI designer to send me the design in 720 x 1280 resolution, but then i have noticed that there is also bar on top of the screen (with the app icon and name), i know how to make it disappear but i would like to keep it. I don't know the height of that bar and what resolution to ask from the UI designer. Can you please tell me what resolution i need?
Asked
Active
Viewed 4,284 times
0
-
why don't you just play with the height until you find it? also repeat http://stackoverflow.com/questions/7165830/what-is-the-size-of-actionbar-in-pixels – L7ColWinters Feb 23 '12 at 13:36
2 Answers
3
Found it:
Screen height: 800px
Status Bar (Bottom): 48px
Action Bar (Top): 56px
Middle:696px

DanM
- 1,530
- 4
- 23
- 44
0
You should not bind your UI to specific and fixed sizes on Android, if possible try re-thinking the graphic elements in terms of stretchable nine patches and android xml resources such as gradients and shapes, in case you don't know them here's some link:
Nine-Patches: http://developer.android.com/guide/developing/tools/draw9patch.html
Drawable resources: http://developer.android.com/guide/topics/resources/drawable-resource.html
And here's a link to a similar question with some values for the height of the status bar in Android: Height of status bar in Android

Community
- 1
- 1

Francesco Rigoni
- 923
- 7
- 20