Coding for Aspect Ratio

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Coding for Aspect Ratio

Postby coreyog » Thu Oct 18, 2012 2:25 pm

I'm working on a game that's screen size independent. I'm hard-coding the height of the game world and letting the width be decided by the screen's aspect ratio so that images don't get distorted. I'm curious as to what the aspect ratio distribution among android devices Gingerbread (2.3) and up are.

What is the most square aspect ratio? Most rectangular? Most popular?

All I can find is this page talking about long and notlong aspect ratios, but there's no specifics. The table near the bottom of that page seems to only be talking about emulators, not real world devices.
Posts: 2
Joined: Wed Oct 17, 2012 5:32 pm


Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 2 guests