Which solution is good for making a splashScreen?
1. A large image(Typically it’s suitable for xhdpi devices) and set scaleType to fitxy or something else that I don’t know,
Or
2. Make 4 images and put them in 4 folders with these names:
drawable-ldpi , drawable-mdpi , drawable-hdpi , drawable-xhdpi?
Or another solution?
I’d say it really depends on the type of Splahscreen image that you have. Does it have text? (in which case scaling down might look bad). It also depends on whether you are looking to reducing the size of your apk or not.
Personally, I’d rather go with a single Splashscreen in the highest density and let system do the scaling (then of course don’t forget to test it on different devices and see how it looks).
[EDIT]
As for the scaleType I don’t recommend using FIT_XY given that it doesn’t conserve the aspect ratio (will scale your image horizontally but not vertically). FIT_START, FIT_END, FIT_CENTER might not work because they won’t fill the screen which is bad for a Splashscreen.
So I think CENTER_CROP might be a good solution, as the documentation says: