我正在尝试支持Android平板电脑应用,例如 Samsung View 和 HP Slate 17 等设备,这些设备有超大屏幕(17“+)。我已经启用了Manifest中的android:xlargeScreens='true'
,如下所示,
<supports-screens android:smallScreens="false" android:normalScreens="false"
android:largeScreens="true" android:xlargeScreens="true"
android:anyDensity="true" android:requiresSmallestWidthDp="600"/>
但是当我尝试将应用上传到Google Play时,上面提到的设备会显示为灰色。 还有什么我需要做的吗?
以下是整个清单:
<?xml version='1.0' encoding='UTF-8'?>
<manifest package='__PACKAGE__' android:versionCode='1' android:versionName='1.00' xmlns:android='http://schemas.android.com/apk/res/android'>
<uses-sdk android:minSdkVersion='15' android:targetSdkVersion='15'/>
<supports-screens android:smallScreens="false" android:normalScreens="false"
android:largeScreens="true" android:xlargeScreens="true"
android:anyDensity="true" android:requiresSmallestWidthDp="320"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name='android.permission.ACCESS_FINE_LOCATION' />
<uses-permission android:name='android.permission.ACCESS_NETWORK_STATE'/>
<uses-permission android:name='android.permission.ACCESS_WIFI_STATE' />
<uses-permission android:name='android.permission.BLUETOOTH'/>
<uses-permission android:name='android.permission.BLUETOOTH_ADMIN'/>
<uses-permission android:name='android.permission.CAMERA'/>
<uses-permission android:name='android.permission.GET_TASKS'/>
<uses-permission android:name='android.permission.INTERNET'/>
<uses-permission android:name='android.permission.MODIFY_AUDIO_SETTINGS'/>
<uses-permission android:name='android.permission.RECEIVE_BOOT_COMPLETED'/>
<uses-permission android:name='android.permission.RECORD_AUDIO'/>
<uses-permission android:name='android.permission.WAKE_LOCK' />
<uses-permission android:name='android.permission.WRITE_EXTERNAL_STORAGE'/>
<uses-permission android:name='android.permission.WRITE_SETTINGS'/>
<uses-permission android:name='com.google.android.c2dm.permission.RECEIVE'/>
<permission android:name='__PACKAGE__.permission.C2D_MESSAGE' android:protectionLevel='signature'/>
<uses-permission android:name='__PACKAGE__.permission.C2D_MESSAGE'/>
<uses-feature android:name='android.hardware.camera.autofocus' android:required='false'/>
<uses-feature android:name='android.hardware.microphone' android:required='false'/>
<uses-feature android:name='android.hardware.bluetooth_le' android:required='false'/>
<application android:hardwareAccelerated='true' android:icon='@drawable/ic_launcher___BRAND__' android:label='@string/app_name___BRAND__' android:largeHeap='true'>
<meta-data android:name="brand" android:value="__BRAND__"/>
<meta-data android:name="console_url" android:value="__CONSOLE_URL__" />
<activity android:configChanges='orientation|screenSize' android:exported='false' android:name='org.ruboto.SplashActivity'/>
<activity android:label='@string/app_name___BRAND__' android:name='__PACKAGE__.HomeActivity' android:enabled='false'>
<intent-filter>
<action android:name='android.intent.action.MAIN'/>
<category android:name='android.intent.category.HOME'/>
<category android:name='android.intent.category.DEFAULT'/>
</intent-filter>
</activity>
<activity android:label='@string/app_name___BRAND__' android:name='__PACKAGE__.WebViewActivity' android:launchMode='singleTask' android:configChanges="orientation|screenSize">
<intent-filter>
<action android:name='android.intent.action.MAIN'/>
<category android:name='android.intent.category.LAUNCHER'/>
</intent-filter>
</activity>
<activity android:exported='false' android:name='org.ruboto.RubotoActivity'/>
<activity android:exported='false' android:name='org.ruboto.RubotoDialog' android:theme='@android:style/Theme.Dialog'/>
<service android:exported='false' android:name='org.ruboto.RubotoService'/>
<receiver android:name='.CloudMessageReceiver' android:permission='com.google.android.c2dm.permission.SEND'>
<intent-filter>
<action android:name='com.google.android.c2dm.intent.RECEIVE'/>
<category android:name='__PACKAGE__'/>
</intent-filter>
</receiver>
<receiver android:name='__PACKAGE__.OnBootReceiver'>
<intent-filter>
<action android:name='android.intent.action.BOOT_COMPLETED'/>
</intent-filter>
</receiver>
</application>
谢谢!