Messaging: Fix navigation bar theming

Change-Id: I6a346063eb4420738561bd0ffe44cd5629f9f59f
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
Pranav Vashi
2022-08-01 01:17:30 +05:30
committed by Michael W
parent b12a4f8a3a
commit 056cf5f79e
4 changed files with 40 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
<?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>

View File

@@ -0,0 +1,19 @@
<?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>

View File

@@ -20,7 +20,7 @@
<color name="window_background">@*android:color/system_neutral1_50</color>
<color name="navigation_bar_bg">@*android:color/system_neutral1_10</color>
<color name="navigation_bar_bg">@color/window_background</color>
<color name="compose_send_text_background_color">@android:color/white</color>
</resources>

View File

@@ -22,7 +22,7 @@
<style name="BugleBaseTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="android:forceDarkAllowed">true</item>
<item name="android:navigationBarColor">@color/navigation_bar_bg</item>
<item name="android:windowLightNavigationBar">true</item>
<item name="android:windowLightNavigationBar">@bool/light_navigation_bar</item>
</style>
<!-- Application theme. -->