Creating App for Nexus 7

Jimdriver2

Member
Licensed User
Longtime User
I'm trying to create a pretty simple App for my Nexus 7.

I've having a problem at a pretty basic level, creating the right emulator for testing with it. I'm just using the Android 2.2 API. I tried using 4.0 but that gave me an error and using apps made with 2.2 work fine with 4.1.

What i'm struggling with is creating an emulator with an appropriate screen size. I'm setting the resolution specifically to the Nexus 7's res, 800 wide by 1280 high, but when I add items onto a Layout that size, using the full width and height the Views don't appear in those places on the emulator or when I copy the app over to the Nexus 7. They're way off the screen, as if the resolution is to high.

I *think* where my mistake is that Android 2.2 isn't really made for resolutions that high, so I'm kind of cheating doing it this way. Some playing around lead me to work out that using a layout of 600x900 seemed to fit reasonably well.

If anyone can make any suggestions I'd be most grateful. thanks.
 
Top