문제

I made the app which is optimized to support Mobile Phone. I don't want to support Nexus 10, Nexus 7, and other tablet PCs that have large screen. How can I handle that in AndroidManifest.xml?

도움이 되었습니까?

해결책

Explicitly declare in the manifest which screen sizes your application

Syntax

<supports-screens 
android:resizeable=["true"| "false"] 
android:smallScreens=["true" | "false"] 
android:normalScreens=["true" | "false"] 
android:largeScreens=["true" | "false"] 
android:xlargeScreens=["true" | "false"] 
android:anyDensity=["true" | "false"] 
android:requiresSmallestWidthDp="integer" 
android:compatibleWidthLimitDp="integer" 
android:largestWidthLimitDp="integer"/>

In your case :

<supports-screens android:xlargeScreens="false" /> 

After this playstore will show your app to devices except xlarge screen

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top