mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 05:31:21 +03:00
Improve splash screen
This commit is contained in:
parent
53f0b77fb0
commit
f6d2d05e70
2 changed files with 10 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue