Improve splash screen

This commit is contained in:
Benoit Marty 2020-07-15 15:08:46 +02:00
parent 53f0b77fb0
commit f6d2d05e70
2 changed files with 10 additions and 1 deletions

View file

@ -1,6 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppTheme.Launcher.v21" parent="AppTheme.Launcher.Base">
<item name="android:statusBarColor">@color/riotx_accent</item>
<item name="android:navigationBarColor">@color/riotx_accent</item>
</style>
<style name="AppTheme.Launcher" parent="AppTheme.Launcher.v21"/>
<style name="AppTheme.AttachmentsPreview" parent="AppTheme.Base.Black">
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:navigationBarColor">@android:color/transparent</item>

View file

@ -2,7 +2,9 @@
<resources>
<!-- Launcher Theme, only used for VectorLauncherActivity (will be use even before the Activity is started) -->
<style name="AppTheme.Launcher" parent="Theme.MaterialComponents.Light.NoActionBar">
<style name="AppTheme.Launcher" parent="AppTheme.Launcher.Base"/>
<style name="AppTheme.Launcher.Base" parent="Theme.MaterialComponents.Light.NoActionBar">
<item name="android:windowBackground">@drawable/splash</item>
<item name="colorPrimaryDark">@color/primary_color_dark</item>