Android splash screen: how to make it centered?
问题 I use a theme-based solution as it described here, for example, to show a splash screen in my application. Here is my background_launch.xml: <bitmap xmlns:android="http://schemas.android.com/apk/res/android" android:src="@drawable/launch_image" android:tileMode="disabled" /> When I have launch_image as png everything is OK. But the app crashes if I use @drawable/layerlist instead of @drawable/launch_image . layerlist.xml is: <layer-list xmlns:android="http://schemas.android.com/apk/res