I am developing a port for a new Android (froyo) device and am confused by the generalized screen size determination. Our application development partner is using a Galaxy Tab as a reference device as its display is nearly identical. However, applications installed on the two devices get different generalized sizes despite identical lcd_density and therefore end up looking differently. Both are configured with lcd_density of 240 (hdpi).
So my question are: 1. How exactly does Android determine which generalized size a given display falls in and where in the code is this done? 2. How does the O/S determine the actual screen resolution that the generalized screen size is based off of? 3. Could devices with identical screen resolution and lcd_density get different generalized sizes? 4. Is the generalized size determination different in froyo and gingerbread? Since the Tab is running gingerbread and our device froyo, that is another potential variable I do not fully understand. Thanks, Rick -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
