Android Question How does designer calculate screen WxH dimensions?

stanmiller

Active Member
Licensed User
Longtime User
I have a device with a 480x640 physical screen size. The designer reports the dimensions as 480x577.

I understand this is linked to dip and density and scaling but can't seem to figure out the calculation how to get from 640 to 577?

Can you walk me through an example?

Display Test reports physical screen size



Designer reports dimensions as 480x577



Thanks!
 

stanmiller

Active Member
Licensed User
Longtime User
Ah, see... Thanks for the replies.

It's the navigation bar that is consuming the 63 pixels. Using a fullscreen activity with no title, I'm able to position a view on the 576th line using the designer.



This device is running JellyBean 4.2.2
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…