kopia lustrzana https://github.com/TeamNewPipe/NewPipe
Make Navigation Bar buttons color black in Light Theme
rodzic
b3e2418b93
commit
610d0b272e
|
@ -0,0 +1,22 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
|
||||||
|
<style name="Base.V21.LightTheme" parent="Base.V7.LightTheme">
|
||||||
|
<item name="android:navigationBarColor">@android:color/transparent</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="Base.LightTheme" parent="Base.V21.LightTheme" />
|
||||||
|
|
||||||
|
<style name="Base.V21.DarkTheme" parent="Base.V7.DarkTheme">
|
||||||
|
<item name="android:navigationBarColor">@android:color/transparent</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="Base.DarkTheme" parent="Base.V21.DarkTheme" />
|
||||||
|
|
||||||
|
<style name="Base.V21.BlackTheme" parent="Base.V7.BlackTheme">
|
||||||
|
<item name="android:navigationBarColor">@android:color/transparent</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="Base.BlackTheme" parent="Base.V21.BlackTheme" />
|
||||||
|
|
||||||
|
</resources>
|
|
@ -1,16 +1,22 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<style name="Base.V27.DarkTheme" parent="Base.V7.DarkTheme">
|
<style name="Base.V27.LightTheme" parent="Base.V21.LightTheme">
|
||||||
<item name="android:navigationBarColor">@color/dark_background_color</item>
|
<item name="android:windowLightNavigationBar">true</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="Base.LightTheme" parent="Base.V27.LightTheme" />
|
||||||
|
|
||||||
|
<style name="Base.V27.DarkTheme" parent="Base.V21.DarkTheme">
|
||||||
<item name="android:windowLightNavigationBar">false</item>
|
<item name="android:windowLightNavigationBar">false</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="Base.DarkTheme" parent="Base.V27.DarkTheme" />
|
<style name="Base.DarkTheme" parent="Base.V27.DarkTheme" />
|
||||||
|
|
||||||
<style name="Base.V27.BlackTheme" parent="Base.V7.BlackTheme">
|
<style name="Base.V27.BlackTheme" parent="Base.V21.BlackTheme">
|
||||||
<item name="android:navigationBarColor">@android:color/black</item>
|
<item name="android:windowLightNavigationBar">false</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="Base.BlackTheme" parent="Base.V27.BlackTheme" />
|
<style name="Base.BlackTheme" parent="Base.V27.BlackTheme" />
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -1,24 +1,22 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<style name="Base.V29.LightTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
|
<style name="Base.V29.LightTheme" parent="Base.V27.LightTheme">
|
||||||
<item name="android:navigationBarColor">@android:color/transparent</item>
|
|
||||||
<item name="android:enforceNavigationBarContrast">false</item>
|
<item name="android:enforceNavigationBarContrast">false</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="Base.LightTheme" parent="Base.V29.LightTheme" />
|
<style name="Base.LightTheme" parent="Base.V29.LightTheme" />
|
||||||
|
|
||||||
<style name="Base.V29.DarkTheme" parent="Base.V7.DarkTheme">
|
<style name="Base.V29.DarkTheme" parent="Base.V27.DarkTheme">
|
||||||
<item name="android:navigationBarColor">@android:color/transparent</item>
|
|
||||||
<item name="android:enforceNavigationBarContrast">false</item>
|
<item name="android:enforceNavigationBarContrast">false</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="Base.DarkTheme" parent="Base.V29.DarkTheme" />
|
<style name="Base.DarkTheme" parent="Base.V29.DarkTheme" />
|
||||||
|
|
||||||
<style name="Base.V29.BlackTheme" parent="Base.V7.BlackTheme">
|
<style name="Base.V29.BlackTheme" parent="Base.V27.BlackTheme">
|
||||||
<item name="android:navigationBarColor">@android:color/transparent</item>
|
|
||||||
<item name="android:enforceNavigationBarContrast">false</item>
|
<item name="android:enforceNavigationBarContrast">false</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="Base.BlackTheme" parent="Base.V29.BlackTheme" />
|
<style name="Base.BlackTheme" parent="Base.V29.BlackTheme" />
|
||||||
|
|
||||||
</resources>
|
</resources>
|
|
@ -9,7 +9,9 @@
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<!-- Base themes -->
|
<!-- Base themes -->
|
||||||
<style name="Base.LightTheme" parent="Theme.AppCompat.DayNight.DarkActionBar" />
|
<style name="Base.V7.LightTheme" parent="Theme.AppCompat.DayNight.NoActionBar" />
|
||||||
|
|
||||||
|
<style name="Base.LightTheme" parent="Base.V7.LightTheme" />
|
||||||
|
|
||||||
<style name="LightTheme" parent="Base.LightTheme">
|
<style name="LightTheme" parent="Base.LightTheme">
|
||||||
<item name="colorPrimary">@color/light_youtube_primary_color</item>
|
<item name="colorPrimary">@color/light_youtube_primary_color</item>
|
||||||
|
|
Ładowanie…
Reference in New Issue