What size of image should I put into drawable folder which is not drawable - ldpi, hpi, mdpi, xhdpi,xxhdpi, xxxhdpi? Or do I still need the drawable folder?
1) The reason behind the different drawable folders - to enhance user experience when using our app, by accomodating each device's screen density.
Option #1: Just ship the -xxhdpi drawables and let Android downsample them for you at runtime (downside: will only work on fairly recent devices, where -xxhdpi is known). Option #2: Use Android Asset Studio to downsample them for you. Option #3: Automate the process within a graphics editor, per ssantos' answer.
these are image folders for different densities. hdpi images for the Android Broad Screen set or Android Phones with the Higher resolution. ldpi Lower images quality supported by the earlier sets of the android. mdpi for medium images support. xhdi devices with maximum resolution.
The mipmap folders are for placing your app/launcher icons (which are shown on the homescreen) in only. Any other drawable assets you use should be placed in the relevant drawable folders as before.
Yes, we still need drawable folder. All the folders you mentioned help android app to store different density images according to their density but when you access them into your app system will select the appropriate image based on the screen's API.
You could also follow documentation for further details here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With