Build an Animated Logo Splash Screen for Android Apps
The first frames an Android user sees decide whether an app feels instant or sluggish. Between tapping the icon and reaching an interactive screen, the system loads your activities, resolves dependencies, warms up databases and often waits on a network call. A launch screen that shows your logo clearly confirms the tap registered and buys the app a few controlled milliseconds to prepare.
An animated logo adds short, deliberate movement to that moment: the mark scales into place, holds for a beat, then hands over to real content. The following walkthrough covers everything from preparing a vector asset to timing the transition out of the launch activity, using code that drops straight into an existing Android Studio project.
What a splash screen is actually for
Two different things share the name. Since Android 12, the platform draws a system launch screen automatically, built from the app icon and theme attributes, and the androidx.core:core-splashscreen library backports that behaviour to older devices. A custom animated splash screen sits on top of this: you own the motion, the background colour and the exact moment the logo leaves the screen.
Its job is brand recognition and perceived speed, not decoration. A static logo on a flat background reads as a loading state; a logo that arrives with a smooth scale feels intentional. Either way, keep the duration short. Android's own guidance treats the launch screen as a transition rather than a waiting room, and if your app needs longer than a second or two, show meaningful progress inside the main screen instead of stretching the intro.
Plan the branding and the handover
Decide the colours, the logo treatment and the exit before writing any XML. Australian audiences see plenty of blue and green fintech branding, from ANZ and Commonwealth Bank apps to local superannuation platforms, so a saturated brand background can sit naturally against the app's later screens. Pick one background colour from colors.xml, give the logo breathing room, and make sure the mark stays legible at the size it will actually appear.
Check contrast while you are there. Australian Government services and most bank-grade apps are expected to meet WCAG 2.2 AA, and a low-contrast logo that fades against a dark navy background can fail accessibility review outright. The Australian Consumer Law also treats marketing claims in an app's launch messaging as ordinary advertising, so keep any tagline factual.
One legal trap deserves attention: the Privacy Act 1988 (Cth) and its 2024 amendments tightened consent rules around data collection and disclosure. Analytics SDKs initialised inside the splash activity can transmit identifiers before the user has agreed to anything. Load them after consent, or defer them until the main screen appears.
Prepare the logo assets
Prefer a Vector Drawable. The SVG source used for your brand kit usually scales cleanly, keeps the APK small and avoids blurry edges on high-density screens in Sydney or Melbourne flagship models. Export it at 512 by 512 pixels with a transparent background, save it into res/drawable/ and reference it with @drawable/.
Keep a raster fallback only if the logo relies on effects vectors cannot express, such as a soft drop shadow baked into the artwork. If you do use PNG, provide density-specific versions rather than a single oversized file, because a large image decoded at startup directly lengthens the very delay you are trying to hide.
A circular or rounded container behind the mark is easy to build with XML. The same shape drawable techniques that produce rounded buttons work perfectly for a badge, an oval or a gradient panel behind your logo.
Build the splash layout
Create activity_splash.xml with a root ConstraintLayout, set its background to your brand colour and centre an ImageView holding the logo. Constrain the image to the centre of the parent with a fixed width and height expressed in dimens.xml, and leave the rest of the screen empty.
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/brand_background">
<ImageView
android:id="@+id/splash_logo"
android:layout_width="180dp"
android:layout_height="180dp"
android:src="@drawable/ic_brand_logo"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
Add a secondary TextView only if the brand genuinely needs it, and give it a contentDescription alongside the logo so TalkBack announces something meaningful rather than "image". For regional users in places like Cairns or regional New South Wales, where 4G speeds can be modest, resist the temptation to bundle a looping background video; a vector plus a property animation weighs almost nothing.
Choose how the logo moves
Most projects settle on one of three techniques, and each suits a different level of polish.
| Technique | Setup effort | Control over motion | Best suited to |
|---|---|---|---|
| ObjectAnimator | Low | Full control of scale, alpha and rotation | Simple, tidy logo entrance |
| MotionLayout | Medium | Timeline-based, draggable constraints | Choreographed multi-step sequences |
| Lottie animation | Medium to high | Frame-accurate vector motion | Rich brand animations and loops |
For a straightforward logo reveal, ObjectAnimator is the shortest path and needs no extra dependency.
val logo = findViewById<ImageView>(R.id.splash_logo)
ObjectAnimator.ofPropertyValuesHolder(
logo,
PropertyValuesHolder.ofFloat(View.SCALE_X, 0.65f, 1f),
PropertyValuesHolder.ofFloat(View.SCALE_Y, 0.65f, 1f),
PropertyValuesHolder.ofFloat(View.ALPHA, 0f, 1f)
).apply {
duration = 650
interpolator = OvershootInterpolator(0.9f)
start()
}
MotionLayout earns its place when the logo should drift, rotate and then settle against a caption, because the whole sequence lives in a layout timeline that designers can reason about. Lottie, loaded from a JSON animation, is the practical choice when the brand already ships animated artwork.
Hand over to the main activity
Timing is where most implementations leak memory or flash white. Do not use a bare Thread.sleep. Post a delayed runnable through a Handler tied to Looper.getMainLooper(), and clear it in onDestroy so the activity cannot fire after the user has rotated the screen or pressed back.
A cleaner pattern pairs the system splash with your own animation. Install the platform splash, then hold it on screen until your logo sequence finishes, so the handover happens without a visible seam.
installSplashScreen()
private var ready = false
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_splash)
splashScreen.setKeepOnScreenCondition { !ready }
// run the logo animation, then set ready = true
}
Once the animation completes, fade the logo out with a second ObjectAnimator, call finish() and let the main activity take over. Delay the exit by roughly 200 to 400 milliseconds so the mark is visible long enough to register. If you want working reference builds rather than isolated snippets, the community project walkthroughs cover similar launch flows end to end.
Test on real devices and publish
Measure cold start with the Android Studio profiler on at least one mid-range handset, because a device running Android 9 or 10 with a modest processor exposes delay that a Pixel 9 hides. Watch for the moment the splash appears, the time to the first frame and any dropped frames during the logo animation.
Test the handover under stress as well. Rotation during the delay, a low-memory background app and a user pressing back mid-animation all need a predictable outcome, and the splash must never remain on screen if the main activity crashes during initialisation.
For distribution, upload through Google Play, which dominates the Australian Android market, and check the pre-launch report for startup warnings. If you also offer a downloadable APK for enterprise clients, keep the asset size small so the first download over a mobile connection in regional Australia does not stall before the launch experience even begins.