Splash screen backgrounds for mobile apps

iOS and Android limit what you can put behind a splash screen. Here is what each platform accepts, how to pick the color, and where a real background image belongs.

8 min read
Smartphone on a dark pedestal with its screen filled by one solid teal color
In short
  • On Android 12 and later the system splash background is one opaque color set with windowSplashScreenBackground. No full-screen images.
  • On iOS the launch screen should look nearly identical to your first screen: a named color, an optional image, no text.
  • Use the exact background color of the first screen, with a separate dark mode value on both platforms.
  • Put real background images on the first in-app screen or in onboarding, and fade them in over the same solid color.
1Opaque color allowed behind the Android 12+ splash
192 dpVisible icon circle without an icon background
1,000 msRecommended limit for an animated splash icon

A splash screen background is the first color or image a person sees after tapping your app icon. On both iOS and Android it is mostly not yours to paint freely: Android 12 and later allow one opaque color, and iOS asks for a launch screen that looks almost exactly like your first screen. This guide shows what each platform accepts, how to pick the color, and where a real background image belongs instead.

The rules apply whether you build the app in-house or hire a team for custom mobile app development services. Every launch has the same three moments: the system screen, the hand-off, and the first real screen. Get the background right in all three and the app feels like it opened instantly.

If you are building the app itself in a cross-platform framework, our guides to background images in Flutter and background images in React Native cover the screens after launch. This article covers the part before them.

What is the difference between a launch screen and a splash screen?

A launch screen is drawn by the system while your app starts. A splash screen is a branded screen your own code shows after that. Designers often use one word for both, which is where most background mistakes start.

ScreenWho draws itWhat the background can be
iOS launch screenThe system, from your storyboard or UILaunchScreen keysA color and an optional static image; should match the first screen
Android 12+ system splashThe system, from theme attributesOne opaque color, plus a centered icon
Branded in-app splashYour app codeAnything: image, gradient, animation
OnboardingYour app codeAnything, usually one background per step

The first two cannot run code, cannot load from the network and cannot animate a background. The last two can, but every second they stay on screen is a second of waiting. Apple's launching guidelines suggest putting any splash graphic at the start of onboarding instead of in front of every launch.

What can an Android splash screen background be?

On Android 12 and later the splash background is one opaque color. You set it with windowSplashScreenBackground in the theme. There is no attribute for a full-screen image, and transparency is not allowed.

The Jetpack core-splashscreen library brings the same behavior back to API 23. Create a theme that inherits from Theme.SplashScreen and call installSplashScreen() before super.onCreate():

<!-- res/values/themes.xml -->
<style name="Theme.App.Starting" parent="Theme.SplashScreen">
  <item name="windowSplashScreenBackground">@color/splash_bg</item>
  <item name="windowSplashScreenAnimatedIcon">@drawable/ic_splash</item>
  <item name="postSplashScreenTheme">@style/Theme.App</item>
</style>

If you set nothing, the system uses your theme's windowBackground, but only when that is a single color. A bitmap or layer-list background from an old custom splash is not shown full screen on Android 12 and later. The official splash screen guide lists every attribute.

How big is the Android splash icon?

The icon follows adaptive icon rules, so plan the background around a centered circle:

ElementCanvasVisible area
Icon with an icon background240×240 dpCircle 160 dp across
Icon without an icon background288×288 dpCircle 192 dp across
Animated icon (AVD)432×432 dpInner 288 dp
Branding image (optional)200×80 dpBottom of the screen; Google advises against it

Anything outside the circle is masked. If the icon and the background are close in color, set windowSplashScreenIconBackgroundColor to put a solid disc behind the icon. Keep icon animations under 1,000 ms.

How do you add a dark mode color?

Put a second color resource in res/values-night/colors.xml with the same name. The system picks it when the phone is in dark theme:

<!-- res/values/colors.xml -->
<color name="splash_bg">#F4F1EA</color>

<!-- res/values-night/colors.xml -->
<color name="splash_bg">#101114</color>

What does iOS allow behind a launch screen?

iOS allows a background color and an optional image, defined either in a launch storyboard or with the UILaunchScreen dictionary in Info.plist. The plist route needs no storyboard and covers most apps:

<key>UILaunchScreen</key>
<dict>
  <key>UIColorName</key>
  <string>LaunchBackground</string>
  <key>UIImageName</key>
  <string>LaunchMark</string>
  <key>UIImageRespectsSafeAreaInsets</key>
  <true/>
</dict>

UIColorName points to a named color in the asset catalog. Give that color an Any and a Dark appearance, and the launch screen follows the system theme with no extra code.

The design rules are stricter than the technical ones.

Apple asks for a launch screen that is nearly identical to the first screen, with no text, because launch content is never localized. Logos belong there only if they are a fixed part of that first screen. If your first screen opens on a plain color, the launch screen should be only that color.

How do you choose the splash background color?

Use the exact background color of the first screen the user will see. The goal is no visible change when the system screen disappears. Work through it in this order:

  1. Sample the first screen. Take the hex value of the area that fills most of the first screen, not your brand's primary color.
  2. Match it exactly. A difference of a few points in lightness shows up as a flash. Store it once as a design token and use the same token in the theme, the asset catalog and the app.
  3. Check the icon contrast. The icon is a non-text graphic, so aim for at least 3:1 against the background, the WCAG non-text contrast level. If you cannot reach it, add an icon background color.
  4. Define the dark value. Pick it from the dark version of the first screen. Use pure #000000 only if that dark screen is pure black too; otherwise copy its near-black value, such as #101114.
  5. Test both on a real device. Cold-start the app in light and in dark mode and watch the hand-off at normal speed.

Our guide to backgrounds in dark mode explains why a dark theme needs its own values rather than an inverted copy.

Where should a background image go if not on the splash?

A background image belongs on the first in-app screen, a branded splash, or the onboarding steps. All three are drawn by your code, so they can use a texture, a gradient mesh or a photo.

How do you hide the hand-off?

Start the in-app screen with the same solid color as the system splash, then fade the image in once it has decoded. The person sees one continuous surface that gains detail, not a jump. Keep the crossfade short, so it reads as the screen settling rather than as an animation. On Android, setKeepOnScreenCondition keeps the system splash up while you load local data, so the first screen arrives complete.

Which images work behind a logo or a welcome line?

Calm, low-detail images work best behind a logo or a welcome line. Textures and soft gradients sit well behind a centered logo, and they survive the crop from a 4:3 file to a tall phone. Our soft gradient mesh backgrounds and the background textures category are built for that. Busy photos need a dark overlay before any text can sit on top; see readable text on background images.

What size should splash and onboarding background images be?

Size the image to the largest screen you support in physical pixels. A decoded image costs 4 bytes per pixel in memory, whatever the file format, so oversized files slow down the very screen that should be fastest.

ScreenPhysical pixelsDecoded in memory
iPhone with a 393×852 pt screen at 3x1179×2556about 12 MB
Large iPhone, 430×932 pt at 3x1290×2796about 14.4 MB
Common Android phone, FHD+1080×2400about 10.4 MB
4000×3000 camera original4000×3000about 48 MB

Export at the largest size you need, then let the framework decode at screen size. Bundle the onboarding images with the app so the first run works offline.

Which splash background mistakes are most common?

  • A white flash in dark mode. The night color was never defined, so a dark-theme user gets a bright screen at launch.
  • A double splash on Android. An old splash activity runs after the system splash, so users see two launch screens in a row. Migrate to the SplashScreen API and remove the old activity.
  • A full-bleed image in windowBackground. It looked fine on Android 11. On Android 12 and later the system shows the color and the icon, not the bitmap.
  • Text on the iOS launch screen. It is not localized and it changes position on different screen sizes.
  • Holding the splash for branding. Extra seconds on a logo are seconds of waiting. Show the first screen as soon as it is ready.

A checklist before you ship

  • The Android splash uses one opaque windowSplashScreenBackground color with a values-night variant.
  • The iOS launch color is a named asset with Any and Dark appearances.
  • Both colors match the first screen's background exactly, from one shared token.
  • The icon reaches 3:1 contrast, or has an icon background color.
  • The iOS launch screen has no text.
  • Background images live on the first screen or in onboarding and fade in over the same solid color.
  • Images are sized to the largest screen and decoded at screen size.
  • A cold start looks continuous in light and dark mode on a real device.

Questions about splash screen backgrounds

Can I use a background image on an Android splash screen?

Not on the system splash in Android 12 and later. It accepts one opaque color plus a centered icon. Show your background image on the first app screen and fade it in over the same color.

What color should a splash screen background be?

The exact background color of the first screen users see after launch, so there is no flash during the hand-off. Define a separate value for dark mode.

How do I support dark mode on a splash screen?

On Android, add the same color resource in res/values-night. On iOS, point UIColorName or the storyboard to a named color with Any and Dark appearances in the asset catalog.

Should a splash screen show the logo?

On Android the system shows your app icon. On iOS, Apple advises against logos on the launch screen unless they are a fixed part of the first screen. Put a branded splash at the start of onboarding instead.

What size should an onboarding background image be?

Match the largest phone you support in physical pixels, for example 1290 by 2796 for a large 3x iPhone, and decode it at screen size to keep memory down.

Keep reading

Built for the web.
Free to download.