目前我有以下的资源文件夹: 1.布局sw600dp 2.布局sw600dp-notlong
Currently I have the following resource folders: 1. layout-sw600dp 2. layout-sw600dp-notlong
的想法是,我们有3个类型的装置和设备应该相应使用的资源从正确的文件夹。该装置有: 1.三星Galaxy Tab 10.1,1280×800 MDPI。 16/10 2.华硕变压器TFT 101,1280×800 MDPI。 16/10。 3.普通片剂,800 X 600 LDPI。 4/3。
The idea is that we have 3 types of devices and the devices should use the resources from the correct folder accordingly. The devices are: 1. Samsung Galaxy Tab 10.1, 1280 X 800 mdpi. 16/10 2. Asus Transformer TFT 101, 1280 X 800 mdpi. 16/10. 3. A generic tablet, 800 X 600 ldpi. 4/3.
现在的问题是,所有3设备使用资源布局sw600dp-notlong。据我了解的4/3被归类为-notlong设备。
The problem is that all 3 devices use resources from layout-sw600dp-notlong. To my understanding 4/3 is categorized as -notlong devices.
这有什么错在我的标识使用情况如何?或者,有报道标识符一个错误?
Is there anything wrong in my identifier usage? Or there's a bug reported for the identifier?
感谢提前。
在'notlong标识符是为那些在高宽比为基准装置中的相似(见 http://developer.android.com/guide/practices/screens_support.html )。虽然该文档是稀缺的是什么基准设备是Android设备的1.5〜1.6的,典型的分辨率。所以,你所看到的是正确的。
The 'notlong' identifier is for devices that are similar in aspect ratio to baseline devices (see http://developer.android.com/guide/practices/screens_support.html). While the docs are scarce on what baseline devices are, typical resolution of Android devices 1.5~1.6. So what you are seeing is correct.
虽然是一个长标识,比基准比率更长的设备,它看起来像你不能强迫的资源是较短的设备(如800×600)。
While there is a 'long' identifier for devices that are longer than baseline ratios, it looks like you can't force resources for devices that are shorter (e.g. 800x600).
上一篇:如何排队在Android上的服务器发送数据服务器、数据、Android
下一篇:如何处理在科尔多瓦和PhoneGap的Android的4.0-4.3和4.4之间的宽度不一致?宽度、如何处理、科尔、多瓦