HackerU HackerU - 4 months ago 43
Android Question

Android densities different

If I have an image with hdpi, xhpi,and xxhdpi how I can display all those densities to screen?

I use Android Studio 2.2


Android will handle that for you. You do not need to choose the resolution on your own. Just use the drawable (Same name but different res and in the correct folders) in your app. In addition you will also only see one entry in the list.

Android will decide which res to use based on some things like screen res, device's screen size and so on