Skip to content

Instantly share code, notes, and snippets.

@leecrossley
Last active August 29, 2015 14:03
Show Gist options
  • Save leecrossley/b8e4ef90e51581353110 to your computer and use it in GitHub Desktop.
Save leecrossley/b8e4ef90e51581353110 to your computer and use it in GitHub Desktop.
Android app phones only (not tablets)
<manifest>
<compatible-screens>
<screen android:screenSize="small" android:screenDensity="ldpi" />
<screen android:screenSize="small" android:screenDensity="mdpi" />
<screen android:screenSize="small" android:screenDensity="hdpi" />
<screen android:screenSize="small" android:screenDensity="xhdpi" />
<screen android:screenSize="small" android:screenDensity="480" />
<screen android:screenSize="normal" android:screenDensity="ldpi" />
<screen android:screenSize="normal" android:screenDensity="mdpi" />
<screen android:screenSize="normal" android:screenDensity="hdpi" />
<screen android:screenSize="normal" android:screenDensity="xhdpi" />
<screen android:screenSize="normal" android:screenDensity="480" />
</compatible-screens>
<!-- ... -->
<application>
<!-- ... -->
<application>
</manifest>
@leecrossley
Copy link
Author

Is this really the most concise way to say "phones only"?!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment