Can Screen Size Be Determined?

briant1972

Member
Licensed User
Longtime User
Let's say I have a couple of layouts, one I want to use for phones and the other for tablets. The problem I have is both the tablet I have and some phones (like the HTC EVO) are 480 X 800 and have a scale of 1, so I can't use a combination of those to figure out that the tablet has the bigger screen. Is there a way to determine the actual device screen size?
 

briant1972

Member
Licensed User
Longtime User
Ooops. Thanks for the reply. I added a check to my program to show the scale and the width and didn't notice that the 480 x 800 phone returns a density of 1.5 where the 480 x 800 tablet returns a density of 1. My fault. Feel stupid. Thanks for the help though.
 
Upvote 0
Top