Android Tutorial #18: Background image, working with pixel density & image resolution.

Опубликовано: 04 Апрель 2026
на канале: clientuser.net
37,197
242

Source Code:   / clientuser_net  

Background image not showing in your android app activity? Well you probably made the same mistake as I did. Watch the video to find out.
I also go through how to work with and create images with different density resolutions and width length values so they are compatible with xhdpi , hdpi, mdpi and ldpi.

Android studio does not create the drawable-xhdpi directories, etc... from a fresh install, I also show you where and how to create these.

And finally I give you the maths that will at long last make image creation much less painful for different android size screens. I use GIMP to edit and example image.

Supporting multiple screens has never been easier!