Android Scaling & Density Issues

后端 未结 2 577
梦谈多话
梦谈多话 2021-01-24 17:42

Update: Some research has turned up that the Asus Transformer TF700T (high end) should have a pixel density of about 224, so the values of 159 android is report

2条回答
  •  执笔经年
    2021-01-24 17:52

    Looks like you do something like I did. I mean you think that AOS chooses resources using DisplayMetrics but thats not true. There is also a Configuration. So for instance I was thinking that my HTC is HDPI for AOS since its really hdpi/240 by DisplayMetrics. But by Configuration its NORMAL. pls look at stackoverflow.com/questions/15837469/… maybe u'r gonna find it useful.
    So maybe one of your tablets must use res/large-mdpi and the other res/large-hdpi.

提交回复
热议问题