mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-06 14:15:41 +12:00
Make navigation Bar Fully Transparent (#381)
* Make navigation Bar Fully Transparent * if the theme color is white then don't use the light navigation bar * fixes navigation bar visibility in light mode
This commit is contained in:
parent
c6d0769a95
commit
fdc8bfd58e
1 changed files with 9 additions and 2 deletions
|
@ -24,7 +24,11 @@
|
|||
<item name="android:textSize">32sp</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Pandroid" parent="Base.Theme.Pandroid" />
|
||||
<style name="Theme.Pandroid" parent="Base.Theme.Pandroid">
|
||||
<item name="android:enforceNavigationBarContrast">false</item>
|
||||
<item name="android:navigationBarColor">@android:color/transparent</item>
|
||||
<item name="android:windowTranslucentNavigation">false</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Pandroid.Custom" parent="Theme.Pandroid">
|
||||
<item name="android:textColor">?colorOnSurface</item>
|
||||
|
@ -54,6 +58,7 @@
|
|||
<item name="android:textColorPrimary">@color/text_secondary_light</item>
|
||||
<item name="android:textColorSecondary">@color/text_secondary_light</item>
|
||||
<item name="android:windowLightStatusBar">false</item>
|
||||
<item name="android:windowLightNavigationBar">false</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Pandroid.Black" parent="Theme.Pandroid.Custom">
|
||||
|
@ -72,6 +77,7 @@
|
|||
<item name="android:textColorPrimary">@color/text_secondary_light</item>
|
||||
<item name="android:textColorSecondary">@color/text_secondary_light</item>
|
||||
<item name="android:windowLightStatusBar">false</item>
|
||||
<item name="android:windowLightNavigationBar">false</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Pandroid.Light" parent="Theme.Pandroid.Custom">
|
||||
|
@ -90,6 +96,7 @@
|
|||
<item name="android:windowLightStatusBar">true</item>
|
||||
<item name="android:textColorPrimary">@color/text_secondary_dark</item>
|
||||
<item name="android:textColorSecondary">@color/text_secondary_dark</item>
|
||||
<item name="android:windowLightNavigationBar">true</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
</resources>
|
||||
|
|
Loading…
Add table
Reference in a new issue