Colored Navigation Bar in Splash Screen

This commit is contained in:
krlvm 2021-03-27 17:51:02 +03:00
parent fd14c8cdce
commit 38eb8e40ea
No known key found for this signature in database
GPG key ID: B8552A91FD265536
2 changed files with 11 additions and 1 deletions

View file

@ -1,6 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Base.V21.OpeningTheme" parent="Base.V7.OpeningTheme">
<item name="android:navigationBarColor">@color/light_youtube_primary_color</item>
</style>
<style name="Base.OpeningTheme" parent="Base.V21.OpeningTheme" />
<style name="Base.V21.LightTheme" parent="Base.V7.LightTheme">
<item name="android:navigationBarColor">@android:color/transparent</item>
</style>

View file

@ -1,6 +1,10 @@
<resources>
<style name="OpeningTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
<style name="Base.V7.OpeningTheme" parent="Theme.AppCompat.DayNight.NoActionBar"/>
<style name="Base.OpeningTheme" parent="Base.V7.OpeningTheme"/>
<style name="OpeningTheme" parent="Base.OpeningTheme">
<item name="colorPrimary">@android:color/transparent</item>
<item name="colorPrimaryDark">@android:color/transparent</item>
<item name="colorAccent">@android:color/transparent</item>