Skip to content

Commit

Permalink
Wear app: better splash screen (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
BoD authored Apr 12, 2024
1 parent ef50b7d commit 42a4153
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wearApp/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<resources xmlns:tools="http://schemas.android.com/tools">

<style name="MainActivityTheme.Starting" parent="Theme.SplashScreen">
<style name="MainActivityTheme.Starting" parent="Theme.SplashScreen.IconBackground">
<item name="windowSplashScreenBackground">@android:color/black</item>
<item name="windowSplashScreenAnimatedIcon">@drawable/splash_icon</item>
<item name="postSplashScreenTheme">@android:style/Theme.DeviceDefault</item>
<item name="android:windowSplashScreenBehavior" tools:targetApi="33">icon_preferred</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="windowSplashScreenIconBackgroundColor">@android:color/white</item>
</style>
</resources>

0 comments on commit 42a4153

Please sign in to comment.