Drawable folder for 8 inch tablets

后端 未结 4 1982
一整个雨季
一整个雨季 2021-01-06 11:45

I am working in an android application and I want to support my application in all devices. But I don\'t know from which drawable folder 8 inch tablet takes

4条回答
  •  醉酒成梦
    2021-01-06 12:35

    The drawable for 8" inches should be implemented if the App uses large background images where should be taken in a serious importance for memory allocation. U can easily categorize your Drawables to large-mdpi, large-xhdpi , large-port-xhdpi(..) but u are in a situation where u delete the small , normal large and u implementing a swallest width of 600, 720 as any android delevopers will customize early or later.. I really suggest to implement an sw800 where has 1280 x 800!!! and also to make sure in your code to have an ifstatement where directly speaks throw the DisplayMetrics.Density and implements == to 800 widthPixels... This will give an HD performance if the images are recycling and are on in InBitmap to retain instance..

提交回复
热议问题