I am absolutly new in Android development (I am developing my first app so be patient) and I have the following doubt.
I have to insert a picture as background of a view into my application and this image have to be correctly shown on all the different devices having different screen size.
So I found this article: http://www.survivingwithandroid.com/2012/07/how-to-support-multiple-screen-in.html
My doubt is: what exactly I have to do in my project?
I think that I have to do the following steps (but I am absolutly not sure of it so I am asking to you):
1) Into the res folder of my project I create the following subfolder: drawable-hdpi, drawable-ldpi, drawable-mdpi, drawable-xhdpi
2) Then I use Photoshop to change the density of my picture and so I put the 120dpi version of my picture into the drawable-ldpi folder, the 160dpi version of my picture into the drawable-mdpi and so on.
Is it my reasoning correct? It ensure that my picture it is displayed at the same size on different screens?