How do I resize an image for a splash screen in Android?

Trương Duy

New member
How do I resize an image for a splash screen in Android?
Answer
Splash Screen in Android
  1. First, you need to add a new style in style. xml:
  2. Second, next you need to modify AndroidManifest. xml — add android_theme=”@style/splashScreenTheme” to your main activity:
  3. LDPI: * Portrait: 200 x 320 px. …
  4. MDPI: * Portrait: 320 x 480 px. …
  5. HDPI: * Portrait: 480 x 800 px. …
  6. XHDPI: …
  7. XXHDPI: …
  8. XXXHDPI:
 

Tìm kiếm

Back
Top