android - Different AndroidManifest.xml for low resolution and high resolution -
i'll have split app (apk) in 2 chunks:
- low res, uses low res textures.
- high res, uses high res textures.
now "low" , "high" here relative. low comprises textures in 1x , 2x scales, , high same textures @ 3x scale. yes app ported ios. because of size reasons i'll have make multiple apks.
so, have draw line somewhere, , i'll decide use low res devices 320 dpi, , high res devices dpi beyond that. 400 , up, or something. looks like, can separate dpis using supported-screens tag in androidmanifest.xml, it's clear me how should performed, there no way specify actual dpi. knowledge might not enough have hard time grasping how relate thing "dp" (essentially points in ios speak) "dpi" i.e. density.
http://developer.android.com/guide/practices/screens_support.html
it looks 320ish dpi in android-speak "xhdpi" , stuff above xxhdpi , on (~480 dpi) according table:
- low res: xhdpi (extra-high) ~320dpi
- high res: xxhdpi (extra-extra-high) ~480dpi
the question is, how require minimum dpi in manifest file? also, maximum dpi likewise have specified low res apk?
you don't need create different apk. put texture in correct folder (drawable-mdpi, drawable-ldpi, drawable-hdpi, ...), android keep correct density folder every device. why made the "mipmap" folder launcher icons:
when app resource optimization techniques remove resources unused screen densities, launcher icons can wind looking fuzzy because launcher app has upscale lower-resolution icon display. avoid these display issues, apps should use mipmap/ resource folders launcher icons.
edit: if need try compatible-screens
tag...
Comments
Post a Comment