Commit b899aaf
committed
Wire AndroidX SplashScreen for the XML sample HostActivity
Add a dedicated Theme.App.Splash extending Theme.SplashScreen so the new
brand splash works on every supported API level (minSdk = 21) instead of
only API 31+. Background uses ic_launcher_background and the animated icon
points at the launcher mipmap; postSplashScreenTheme hands control back to
AppTheme once the splash dismisses. HostActivity calls installSplashScreen()
before super.onCreate().
Mirrors the wiring already in place for the Compose sample so both samples
share the same splash treatment for the upcoming Lottie animation.1 parent eebb0d4 commit b899aaf
4 files changed
Lines changed: 10 additions & 0 deletions
File tree
- stream-chat-android-ui-components-sample
- src/main
- kotlin/io/getstream/chat/ui/sample/feature
- res/values
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
36 | 42 | | |
0 commit comments