Prevent white screen when app resumes, use splash screen instead
This commit is contained in:
parent
f7064b81f5
commit
755639c827
2 changed files with 2 additions and 6 deletions
|
@ -41,7 +41,7 @@
|
|||
<activity
|
||||
android:name=".activities.launcher.LauncherActivity"
|
||||
android:noHistory="true"
|
||||
android:theme="@style/LauncherTheme">
|
||||
android:theme="@style/AppTheme">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<style name="AppTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar">
|
||||
<!-- Disable animations between activities -->
|
||||
<item name="android:windowAnimationStyle">@null</item>
|
||||
<item name="android:windowBackground">@color/white_color</item>
|
||||
<item name="android:windowBackground">@drawable/launch_screen</item>
|
||||
|
||||
<!-- Android theme override -->
|
||||
<item name="colorAccent">@color/primary_color</item>
|
||||
|
@ -47,10 +47,6 @@
|
|||
<item name="button_background_drawable">@drawable/button_background_light</item>
|
||||
</style>
|
||||
|
||||
<style name="LauncherTheme" parent="@style/AppTheme">
|
||||
<item name="android:windowBackground">@drawable/launch_screen</item>
|
||||
</style>
|
||||
|
||||
<style name="FullScreenTheme" parent="@style/AppTheme">
|
||||
<item name="android:windowTranslucentStatus">true</item>
|
||||
<item name="android:windowTranslucentNavigation">true</item>
|
||||
|
|
Loading…
Reference in a new issue