Issue
I'm using Android's multiple screen support: swxxxdp
in resources and It support values-sw768dp
very well, But when I bought a retina resolution Android pad: 2048 x 1536, and added a values-sw1536dp
folder, the Android can't load that folder after app run, and I tried on a 2048x1536 emulator, it does NOT work either, I tried sw1000dp
and it works, but not on a higher number. Is it a bug?
Solution
I found this is a bug on Android 4.0.3(ICS): On a 2048x1536 9.7 inch pad, the values-sw768dp-port-xhdpi can't be loaded, and the -port- makes it failed.
And I made a mistake: the 2048x1536 on a 9.7 inch pad is sw768dp xhdpi, so I should not use sw1536dp, the sw768dp multiply density 2.0 (xhdpi / mdpi) is exactly 1536px.
So the conclusion is: the sw768dp-port-xhdpi works on Android Jelly beans(4.1 and 4.2).
Answered By - herbertD
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.