Insert WebP image in AndroidStudio

0

I am creating an Android app and I would like to know if I am correctly using the insertion of images in WebP format inside a CardView.

Is it correct to save the image within resources / drawable and enter it directly in an ImageView referring to that resource or do I have to create different folders so that the system selects the folder with the image that best approximates each screen resolution?

res / drawable-ldpi /
res / drawable-mdpi /
res / drawable-hdpi /
res / drawable-xhdpi /
...

Greetings.

    
asked by Jordi 01.03.2018 в 00:54
source

0 answers