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

1_display_test_size_zps4spkw3el.png


Designer reports dimensions as 480x577

2_designer_size_zpslw662ntp.png


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.

device_layout_area_zpss22rnvtm.png


This device is running JellyBean 4.2.2
 
Upvote 0
Top