Skip to content

Image / Resolution Failure #24

@otternq

Description

@otternq

I loaded our application on the following virtual device specs:

Name: AVD_for_Nexus_S_by_Google
Device: Nexus S (4.0", 480 x 800: hdpi)
Target: Android 2.3.3 - API Level 10

and the background looks correct, but the dice are very large, and the ball chip is also very large.

screen shot 2013-09-25 at 10 50 55 am

AVD_for_Nexus_S_by_Google

The same version loaded on:

Name: AVD_for_Nexus_7_by_Google
Device: Nexus 7 (7.24", 800 x 1280: tvdpi)
Target: Android 4.1.2 - API Level 16

loads the like the following:

screen shot 2013-09-25 at 10 54 02 am

AVD_for_Nexus_7_by_Google

I notice that the emulator that is correct is a 7" tablet, so here is a screenshot of a Galaxy Nexus device

Name: NEW_AVD_for_Galaxy_Nexus_by_Google
Device: Galaxy Nexus (4.65", 720 x 1280: xhdpi)
Target: Google APIs - API Level 16

screen shot 2013-09-25 at 11 02 15 am

NEW_AVD_for_Galaxy_Nexus_by_Google

The Galaxy Nexus and Nexus 7 show the same, and have different resolutions, but their resolutions are much larger than the Nexus S.

I'm going to look into documentation about supporting different dpi levels. This may be what the res/drawables-dpi/ folders are for. We may have to have differently scaled artwork for each dpi level. (maybe there is a way for the device to scale on version to another)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions