Commit d48f6ee
committed
feat(android): Implement native splash screen
This commit introduces a native splash screen on Android using the `SplashScreen` API. It replaces the default blank window with a themed splash screen that displays the app logo.
- **feat(android)**: Added `splash.xml` to define the `Theme.GitHubStore.Splash` theme, which sets the splash screen icon and background color.
- **feat(android)**: Created `ic_splash.xml` drawable to display the app logo with appropriate insets on the splash screen.
- **style(android)**: Updated the `ic_launcher_background` color to `#101010` in `colors.xml`.
- **refactor(android)**: Updated `AndroidManifest.xml` to apply the new `Theme.GitHubStore.Splash` as the application's theme.1 parent e40f2bc commit d48f6ee
4 files changed
Lines changed: 16 additions & 2 deletions
File tree
- composeApp/src/androidMain
- res
- drawable
- values
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments