如果我今天写邮件是为了获取有关android中文件夹树布局的详细信息。Android布局树,人类可读的解释?
现在我想警告你,我已经阅读了关于支持不同屏幕尺寸的官方文档的所有页面,它非常完整,但在我看来并不是真正的人类可读的。所以,请不要只是复制链接到文档。
我的问题很简单:
什么是布局的文件夹,以确保不同屏幕尺寸最大支持的最佳组合?
之前蜂窝,我们有布局,布局大,layout-xlarge等等......没关系,但现在我们有sw600dp,sw360dp,sw ... arggh stooop!
在我的情况下,我必须为android做一个应用程序,我需要确保最大的支持。
我手头上有一些设备:
的Galaxy Note 10.1 Galaxy Nexus的 Nexus S的 的Nexus 7 而且......三星Galaxy角宿一(GT-5700)
这里是我的布局文件夹现在:
layout
layout-sw360dp (for Galaxy Nexus)
layout-sw600dp (for Nexus 7)
layout-sw720dp (for Galaxy Note 10.1)
layout-480x320 (for GT-5700)
(和布局 - * - 土地)
我真的不确定是否正确做事,我认为Nexus S会选择布局文件夹,但它需要layout-480x320,为什么?
所以我有一些问题:
1. Am I in the right direction?
2. Is it always necessary to create folders layout-large, layout-xlarge ... ? If so what should I put inside?
3. I do think the folder layout-480x320 is not a good solution, but I try to do things well and not make this folder is not enough.
有人能告诉我怎么清楚做正确的事情?
谢谢!
2012-11-22
cremy