Messaging: Fix navigation bar theming
Change-Id: I6a346063eb4420738561bd0ffe44cd5629f9f59f Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
19
res/values-night/lineage_bools.xml
Normal file
19
res/values-night/lineage_bools.xml
Normal 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>
|
||||
19
res/values/lineage_bools.xml
Normal file
19
res/values/lineage_bools.xml
Normal 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>
|
||||
@@ -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>
|
||||
|
||||
@@ -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. -->
|
||||
|
||||
Reference in New Issue
Block a user