如何区分Android中不同布局文件夹中的布局文件(.xml文件)
答案 0 :(得分:3)
你的意思是纵向/风景差异?
layout-land/
layout-port/
您可以在此处详细了解:http://developer.android.com/guide/topics/resources/localization.html
还有更多可能性:
res/layout/my_layout.xml // layout for normal screen size ("default")
res/layout-small/my_layout.xml // layout for small screen size
res/layout-large/my_layout.xml // layout for large screen size
res/layout-xlarge/my_layout.xml // layout for extra large screen size
res/layout-xlarge-land/my_layout.xml // layout for extra large in landscape orientation
res/drawable-mdpi/my_icon.png // bitmap for medium density
res/drawable-hdpi/my_icon.png // bitmap for high density
res/drawable-xhdpi/my_icon.png // bitmap for extra high density
您可以在此处阅读更多内容:http://developer.android.com/guide/practices/screens_support.html