如何为每个设备制作不同的布局?
答
查阅上面张贴的文档链接。基本上你是这样做的。
res/layout-land/main_activity.xml # For phones
res/layout-sw600dp-land/main_activity.xml # For 7” tablets
res/layout-sw720dp-land/main_activity.xml # For 10” tablets
SW-为600dp告诉系统从该文件夹加载布局具有的为600dp(设备无关的像素)具有最小宽度尺寸的设备
http://developer.android.com/training/multiscreen /screensizes.html – 2013-05-08 21:30:08
http://developer.android.com/guide/practices/screens_support.html – 2013-05-08 21:30:26