diff options
| -rw-r--r-- | res/values-night/lineage_bools.xml | 20 | ||||
| -rw-r--r-- | res/values-v27/styles.xml | 4 | ||||
| -rw-r--r-- | res/values/lineage_bools.xml | 20 | ||||
| -rw-r--r-- | res/values/lineage_colors.xml | 4 |
4 files changed, 44 insertions, 4 deletions
diff --git a/res/values-night/lineage_bools.xml b/res/values-night/lineage_bools.xml new file mode 100644 index 000000000..f017662e3 --- /dev/null +++ b/res/values-night/lineage_bools.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2018 The LineageOS Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<resources> + + <bool name="light_navigation_bar">false</bool> +</resources> diff --git a/res/values-v27/styles.xml b/res/values-v27/styles.xml index ca71d406f..3028b1133 100644 --- a/res/values-v27/styles.xml +++ b/res/values-v27/styles.xml @@ -50,7 +50,7 @@ <item name="android:popupMenuStyle">@style/PopupMenuStyle</item> <item name="android:navigationBarColor">@color/navigation_bar_bg</item> <item name="android:navigationBarDividerColor">@color/navigation_bar_divider</item> - <item name="android:windowLightNavigationBar">true</item> + <item name="android:windowLightNavigationBar">@bool/light_navigation_bar</item> </style> <style name="LaunchScreenTheme" parent="Theme.AppCompat.Light.DarkActionBar"> @@ -128,7 +128,7 @@ <item name="popupMenuStyle">@style/PopupMenuStyleAppCompat</item> <item name="android:navigationBarColor">@color/navigation_bar_bg</item> <item name="android:navigationBarDividerColor">@color/navigation_bar_divider</item> - <item name="android:windowLightNavigationBar">true</item> + <item name="android:windowLightNavigationBar">@bool/light_navigation_bar</item> </style> </resources> diff --git a/res/values/lineage_bools.xml b/res/values/lineage_bools.xml new file mode 100644 index 000000000..7b0f4e19a --- /dev/null +++ b/res/values/lineage_bools.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2018 The LineageOS Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<resources> + + <bool name="light_navigation_bar">true</bool> +</resources> diff --git a/res/values/lineage_colors.xml b/res/values/lineage_colors.xml index 6aee4d227..1d73ff3e5 100644 --- a/res/values/lineage_colors.xml +++ b/res/values/lineage_colors.xml @@ -15,6 +15,6 @@ limitations under the License. --> <resources> - <color name="navigation_bar_bg">@android:color/white</color> - <color name="navigation_bar_divider">#1f000000</color> + <color name="navigation_bar_bg">@color/background_primary</color> + <color name="navigation_bar_divider">@*android:color/transparent</color> </resources> |
