如何申报7'inch的Andr​​oid平板电脑的布局?

编程入门 行业动态 更新时间:2024-10-26 20:28:38
本文介绍了如何申报7'inch的Andr​​oid平板电脑的布局?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在开发两个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的Andr​​oid平板电脑的布局?

本文发布于:2023-11-13 01:31:18,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1583044.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:平板   布局   电脑   inch   oid

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!