diff options
| author | Pranav Vashi <neobuddy89@gmail.com> | 2022-08-01 01:17:30 +0530 |
|---|---|---|
| committer | Semavi Ulusoy <doc.divxm@gmail.com> | 2022-08-14 00:15:03 +0300 |
| commit | 28d3d0538fbf4f90d15c3353bf542f26b0881096 (patch) | |
| tree | 5fc5c0650a647c2363d22250ee5c4fcf54c9c302 | |
| parent | 43e44c85a7cdc2568ed400d10c39457efcbcb964 (diff) | |
Messaging: Fix navigation bar themings12.1
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: Id9ed8afa5163b200dca5c05d2a7affcd33b263be
| -rw-r--r-- | res/values-night/lineage_bools.xml | 20 | ||||
| -rw-r--r-- | res/values-v27/styles.xml | 2 | ||||
| -rw-r--r-- | res/values/lineage_bools.xml | 20 | ||||
| -rw-r--r-- | res/values/lineage_colors.xml | 4 |
4 files changed, 43 insertions, 3 deletions
diff --git a/res/values-night/lineage_bools.xml b/res/values-night/lineage_bools.xml new file mode 100644 index 0000000..f017662 --- /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 ac23a16..f75bdf7 100644 --- a/res/values-v27/styles.xml +++ b/res/values-v27/styles.xml @@ -18,6 +18,6 @@ <style name="BugleBaseTheme" parent="Theme.AppCompat.Light.DarkActionBar"> <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 0000000..7b0f4e1 --- /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 b0e9df6..4910189 100644 --- a/res/values/lineage_colors.xml +++ b/res/values/lineage_colors.xml @@ -19,6 +19,6 @@ <color name="lineage_accent">@*android:color/system_accent1_600</color> <color name="button_text">@*android:color/system_neutral1_900</color> - <color name="navigation_bar_bg">@*android:color/system_neutral1_10</color> - <color name="navigation_bar_divider">@*android:color/system_neutral1_800</color> + <color name="navigation_bar_bg">@color/window_background</color> + <color name="navigation_bar_divider">@*android:color/transparent</color> </resources> |
