如何设计18英寸及以上的平板电脑?

时间:2017-11-21 05:52:01

标签: android android-layout tablet television

我想在Android中为18英寸及以上的平板电脑创建一个应用程序,我想知道以下几个问题:

  1. 相同的布局,可绘制和值文件夹是什么?
  2. 这是否属于平板电脑或电视?
  3. 创建项目时,是否需要查看手机和平板电脑或电视?
  4. enter image description here

    建议非常感谢,提前致谢。

1 个答案:

答案 0 :(得分:0)

由于您要为平板电脑制作应用,因此您应选择手机和平板电脑

您可以将应用限制为仅在平板电脑上发布。像this

<manifest ... >
<supports-screens android:smallScreens="false"
                  android:normalScreens="false"
                  android:largeScreens="true"
                  android:xlargeScreens="true"
                  android:requiresSmallestWidthDp="600" />
...
<application ... >
    ...
</application>

但建议您制作应用support multiple screens