I have no experience in Games but for normal UI I use the "dp"
measurements in the XML (which assumes a 320 conditional pixel small
side of the screen) and then find the true amount of pixels via

float scale = getResources().getDisplayMetrics().density;

Then by multiplying your dp sizes by the scale you get the true pixel
count on that particular device.

On Mar 8, 6:10 pm, Colin <[email protected]> wrote:
> I've read some guide and tried for a while to understand how to set up
> my game to scale to different resolutions but my Atrix always shows
> more of the screen than smaller resolution emulators.  How do I make
> sure that the smaller resolutions are scaling down or the Atrix is
> scaling up so that I only have to design for one resolution?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to