简体   繁体   中英

What size images should i put in drawable-mdpi folder

I have three device with resolution 320x480, 1024 x 600, 1280 x 800. out of these three devices two are tablets. Now each of these devices has a density 160dp, as a result of this, all of this device takes images from the drawable-mdpi folder. Now my question is what will be the size of the image should I put inside this drawable-mdpi folder? So that it looks good in all of these devices.

//for phone you need to put in

drawable-mdpi

//for tablet you need to put in

drawable large-mdpi

NOTE: this large-mdi drawble is enough for 10' inch device for few images your can use drawable-xlarge-mdpi like background with 1280*800 or splash screen..

an you can create different layout to adjust the view or arranging the drawables as

layout-large and layout-xlarge

put 320x480 size images in drawable-mdpi folder.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM