I’m writing a real-time Android game, so I need to be able to handle different aspect ratios and resolutions correctly.
For now, I’m using my Samsung Fascinate. My phone’s specifications indicate that the screen resolution is 480×800. But when I check the screen resolution in the game, it says 533×320 instead…
Why is this?
On your Manifest add a:
This behavior is discussed in detail on the documentation under the section:
“2. Auto-scaling of pixel dimensions and coordinates”