Notification bar height ?

ozgureffe

Member
Licensed User
Hi,

Is the notification bar height fixed on all devices?

Or is there any way of calculating it?
 

AllanH

Member
Licensed User
Navigation bar

Erel

That's helpful for the notification bar but newer phones have a navigation bar too - the HTC One S is meant to have a screen resolution of 540x960 but the device layout gives a height of 888 - the activity height is 850, giving a notification height of 38, as expected.

How do you detect the navigation bar and thus alter layout/aspect from the "advertised" screen size to the "real" screen size?

Cheers

Allan
 

pauleffect

Member
Licensed User
I apologize for necro posting, but I hope future seekers will find this adequate.

I stumbled upon this link containing very useful pieces of information regarding android designing, including info on the elusive navigation bar.

Best of luck!
 
Top