4
votes

Screen with resolution 240x320, 480x640, 1536x1152 ... has aspect ratio 0.75, screen with resolutions 480*800 has aspect ratio 0.6 etc.

I need use different resources for different aspect ratio.

Can I specify configuration folder to Android take an image by screen aspect ratio?

1

1 Answers

5
votes

You can specify long and notlong for resources.

Refer to Providing Resources

long: Long screens, such as WQVGA, WVGA, FWVGA

notlong: Not long screens, such as QVGA, HVGA, and VG