Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
How to build Splash Screen Natively, #Android 12
Search
Mohit Sharma
May 04, 2022
Programming
54
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
How to build Splash Screen Natively, #Android 12
Mohit Sharma
May 04, 2022
Transcript
19 slides
Let’s build Splash Screen Natively :) Mohit Sharma Developer Advocate,
Realm codeWithMohit WELCOME Let’s build Splash Screen with SplashScreen API
Old topic !
Create Splash Activity with timer. Still show white on launch.
Splash background with no setContentView Brand Promotion ? Timer again !! Previously
Standardize Impl No more boilerplate code Consistent across all devices
and OS* Banding/ launch data Support
None
Code
Create a theme
That's it. Let’s complicate a little
Hold off Splash Screen
None
Animation while existing
Backward Compatibility?
Add SplashScreen dependency implementation 'androidx.core:core-splashscreen:1.0.0-alpha02'
Add style <style name="SplashActivity" parent="Theme.SplashScreen"> <!--Customize your theme here. splash
screen background color--> <item name="windowSplashScreenBackground">#FFFFFF</item> <item name="windowSplashScreenIconBackgroundColor">#000000</item> <item name="windowSplashScreenAnimatedIcon">@drawable/ic_realm_logo_250</item> <item name="postSplashScreenTheme">@style/Theme.RealmSplashScreen.NoActionBar</item> </style>
Update Launcher Activity
Code
No boilerplate code & Standardize Impl No need for separate
SplashActivtiy Consistent across all devices and OS* In build support for banding.
Only single background color Alpha Version Banding Image not backward
compatible Complete screen animation not available
Question? codeWithMohit
More Decks by Mohit Sharma
See All by Mohit Sharma
Share your data layer with MongoDB + KMM and Do more
codewithmohit
0
110
Building_Native_Apps_with_Codesharing_using_MongoDB___KotlinMultiplatform___GDG_Warsaw___MUG_.pdf
codewithmohit
0
57
NoSQL database for Mobile Apps
codewithmohit
0
55
Intro to MongoDB for Mobile developer
codewithmohit
0
47
Introduction to Flutter: The New Kid in Town
codewithmohit
0
74
Mobile App Security Testing Is Also Essential
codewithmohit
0
90
Getting started Kotlin Multiplatform
codewithmohit
0
83
Other Decks in Programming
See All in Programming
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Kaigi on Rails 2026, Tokyo, Japan
marcoroth
2
430
高橋メソッドでCVE解説シリーズ 〜CVE-2026-112816〜
hakkadaikon
0
250
AmebaブログはKMPから卒業します
kmars0605
0
340
Spec-driven Development with AI
simas
PRO
0
2.3k
graphql-ruby を Spinel で速くしようとした話
mtsmfm
0
140
Web Framework Benchmark Battle 2026, Any%
a_matsuda
3
3.2k
TanStack Vue Query と Pinia Colada から学ぶ非同期状態の型設計
aoshi
0
650
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
220
[DroidKnights 2026] Workflow AX: From Auto-Documented Policies to E2E Testing
raeminkang
0
560
SODA - FACT BOOK(EN)
sodainc
1
230
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
220
プロジェクトコードをキレイキレイしよう!暗黙的な参照を読み解く静的解析
ostk0069
0
210
Featured
See All Featured
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
350
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
940
Designing for Timeless Needs
cassininazir
1
560
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.1k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
How to build a perfect <img>
jonoalderson
1
6.2k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
A Modern Web Designer's Workflow
chriscoyier
699
190k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Utilizing Notion as your number one productivity tool
mfonobong
4
640