问题描述
我正在开发两个10'inch和放大器的应用; 7'inch片,这是我的10'inch平板电脑的问题,我宣布布局(布局XLARGE陆和放大器;布局XLARGE端口),同时来7'inch我宣布布局(布局sw600dp陆和放大器;布局sw600dp端口)?
I am developing application on both 10'inch&7'inch tablets, here is my problem for 10'inch tablet i have declared layout as(layout-xlarge-land & layout-xlarge-port),while coming to 7'inch i have declared layout as(layout-sw600dp-land&layout-sw600dp-port)?
而即将7'inch平板电脑它不工作对我来说,我现在用的平板电脑是(iRobot公司)。
while coming to 7'inch tablet it's not working for me,The Tablet which i am using is (iRobot).
推荐答案
在罕见的情况下,要进一步自定义用户界面,例如,对于7与10平板电脑,你还可以定义最小宽度:
In the rare case where you want to further customize your UI, For example for 7" vs. 10" tablets, you can also define smallest widths:
res/layout/main_activity.xml # For phones
res/layout-sw600dp/main_activity.xml # For 7" tablets
res/layout-sw720dp/main_activity.xml # For 10" tablets
,只是看看这个7与10平板电脑: -
and just check out this for 7" vs. 10" tablets:--
这篇关于如何申报7'inch的Android平板电脑的布局?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!