Fixed Splash screen when theme settings are changed

This commit is contained in:
Prathamesh More 2022-06-05 22:31:29 +05:30
parent ad04c4e2ed
commit 7186071772
10 changed files with 14 additions and 50 deletions

View file

@ -72,7 +72,7 @@
android:paddingHorizontal="16dp"
android:scrollHorizontally="true"
android:singleLine="true"
android:textAppearance="@style/TextViewHeadline6"
android:textAppearance="@style/TextViewHeadline5"
android:textColor="?android:attr/textColorPrimary"
android:textStyle="bold"
tools:text="@tools:sample/lorem/random" />
@ -91,7 +91,7 @@
android:paddingHorizontal="16dp"
android:scrollHorizontally="true"
android:singleLine="true"
android:textAppearance="@style/TextViewBody1"
android:textAppearance="@style/TextViewSubtitle2"
android:textColor="?android:attr/textColorSecondary"
app:layout_constrainedWidth="true"
tools:text="@tools:sample/full_names" />

View file

@ -17,9 +17,9 @@
<item name="colorSurface">@android:color/system_accent1_50</item>
</style>
<style name="SplashTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
<item name="android:windowSplashScreenAnimatedIcon">@drawable/ic_splash_anim</item>
<style name="Theme.RetroMusic.SplashScreen" parent="Theme.SplashScreen">
<item name="android:windowSplashScreenAnimatedIcon">@drawable/avd_splash</item>
<item name="android:windowSplashScreenAnimationDuration">1000</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="postSplashScreenTheme">@style/Theme.RetroMusic.FollowSystem</item>
</style>
</resources>