Skip to content

Commit

Permalink
Merge pull request #1029 from kul3r4/main
Browse files Browse the repository at this point in the history
Use Theme.SplashScreen.IconBackground
  • Loading branch information
kul3r4 authored Mar 12, 2024
2 parents 61f1b14 + 44e0d43 commit b585c89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ComposeStarter/app/src/main/res/values-round/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<style name="Theme.App" parent="@android:style/Theme.DeviceDefault" />

<style name="Theme.App.Starting" parent="Theme.SplashScreen">
<style name="Theme.App.Starting" parent="Theme.SplashScreen.IconBackground">
<!-- Set the splash screen background to black -->
<item name="windowSplashScreenBackground">@android:color/black</item>
<item name="windowSplashScreenAnimatedIcon" >@drawable/splashscreen</item>
<item name="windowSplashScreenAnimatedIcon">@drawable/splashscreen</item>
<item name="postSplashScreenTheme">@style/Theme.App</item>
</style>

Expand Down
2 changes: 1 addition & 1 deletion ComposeStarter/app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<style name="Theme.App" parent="@android:style/Theme.DeviceDefault" />

<style name="Theme.App.Starting" parent="Theme.SplashScreen">
<style name="Theme.App.Starting" parent="Theme.SplashScreen.IconBackground">
<!-- Set the splash screen background to black -->
<item name="windowSplashScreenBackground">@android:color/black</item>
<item name="windowSplashScreenAnimatedIcon">@drawable/splashscreen</item>
Expand Down

0 comments on commit b585c89

Please sign in to comment.