mdpi image is too small for 10" android tablet

后端 未结 4 1911
我在风中等你
我在风中等你 2020-12-24 07:54

I have drawables for each density as ldpi,mdpi,hdpi and xhdpi.

Problem: Both 10\" tablet device (1280x800) and a handset device 320x480 uses medium density

4条回答
  •  孤独总比滥情好
    2020-12-24 08:25

    These are defined as common practice:

    Devices:

    drawable-ldpi/xyz.png          low resolution devices 320x240 (now a days no phone comes with this resolution)
    drawable-mdpi/xyz.png          medium resolution devices 480x320
    drawable-hdpi/xyz.png          high resolution devices 800x480
    drawable-xhdpi/xyz.png         Extra high resolution devices 1280*720
    drawable-xxhdpi/xyz.png        Extra Extra high resolution devices 1920x1080
    

    Tablets:

    drawable-large-mdpi/xyz.png    7” Tablet (600x1024 mdpi)
    drawable-xlarge-mdpi/xyz.png   10” tablet (720x1280 mdpi, 800x1280 mdpi, etc).
    

提交回复
热议问题