I've recently released an app but the ui really isn't ready for larger tablet screen so until I get this fixed I've filtered out certain devices with an xlarge screen size using compatible screen tags:
<compatible-screens>
<screen
android:screenDensity="ldpi"
android:screenSize="small" />
/* All sizes up to large xhdpi */
<screen
android:screenDensity="xhdpi"
android:screenSize="large" />
</compatible-screens>
Unfortunately, declaring compatible screen sizes like this in the manifest excludes the S4. I can't find a way of specifying compatible screens and not excluding the S4.
Note, a very similar question has been asked here but the accepted answer (which indicates that at 441dpi the S4 falls under the xxhdpi screen density bucket) does not help in this particular situation as xxhdpi is not a valid manifest attribute value for screen density.
EDIT:
Many thanks for CommonsWare's answer below. The correct bucket for the S4 is then:
<screen
android:screenDensity="480"
android:screenSize="normal" />
The S4's 5-inch (130 mm) Super AMOLED display with 1080×1920 pixels (1080p Full HD) is larger than the 4.8-inch (120 mm) 720×1280 display of its predecessor, and also features a PenTile RGBG matrix. The pixel density has increased from 306 to 441 ppi, surfaced with Corning Gorilla Glass 3.
Use 480
instead of xxhdpi
in the <screen>
element.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With