如何让我的应用程序不支持平板电脑

时间:2014-05-17 06:59:04

标签: android google-play tablet

当我尝试在Google Play上发布我的应用时,据说我的应用支持平板电脑,所以我需要上传平板电脑的屏幕截图。

但我想只为智能手机制作我的应用程序。怎么样?

2 个答案:

答案 0 :(得分:2)

您可以在清单中添加supports-screen元素。

例如:

<supports-screens
              android:smallScreens="true"
              android:normalScreens="true"
              android:largeScreens="false"
              android:xlargeScreens="false"/>

答案 1 :(得分:1)

您可以使用supports-screenslargestWidthLimitDp

请参阅此处的文档:http://developer.android.com/guide/topics/manifest/supports-screens-element.html

此处的总体解释http://developer.android.com/guide/practices/screens_support.html