设计所有分辨率

时间:2013-08-12 12:04:10

标签: android

我的布局结构如下:

RES /布局小LDPI RES /布局LDPI RES /布局MDPI RES /布局大MDPI RES /布局HDPI。

我有以下分辨率的图像:

240×320 小320x480 为480x800 1024x600的

但我不知道将这些图像放在drawable中的位置。请帮忙。

2 个答案:

答案 0 :(得分:2)

Android文档提供了有关支持多种屏幕尺寸的指导:

http://developer.android.com/guide/practices/screens_support.html

答案 1 :(得分:2)

您的res命名文件夹中有四种类型的Drawable文件夹,因此您必须放置。

1) for 240x320 image put it to in drawable-ldpi or simple drawable folder.
2) for 320x480 image put it to in drawable-mdpi 
3) for 480x800 image put it to in drawable-hdpi 
4) for 1024x600image put it to in drawable-xhdpi.