【发布时间】:2012-02-29 00:11:15
【问题描述】:
我即将向 Google Android Marketplace 发布一个应用程序,并希望确保它只出现在屏幕尺寸为 7 英寸以上(至少 600 像素 x 1024 像素)的设备上;特别是 Kindle Fire / Galaxy Tab 7"/10.1"。我从 Android 开发者网站了解到,这样做的方法是使用 <supports-screens> tag。
以下是否会完成我想做的事情:
<supports-screens
android:smallScreens="false"
android:normalScreens="false"
android:largeScreens="true"
android:xlargeScreens="true"
android:resizeable="true"
android:anyDensity="true"
/>
这是最佳做法还是我遗漏了什么?
【问题讨论】:
-
我不能说这是不好的做法,但你限制了你的听众。
-
@AedonEtLIRA 完全同意;这实际上是 iPad 应用程序的一个端口,需要更大的屏幕尺寸。
-
正如<compatible-screen> 描述中也建议使用
标签来支持更大的屏幕,我会说是的!
标签: android