diff options
| author | 2023-11-28 12:43:26 -0800 | |
|---|---|---|
| committer | 2023-11-29 10:17:34 -0800 | |
| commit | e942c81ec3cd2c92b7ceaeecfeac2135d7933807 (patch) | |
| tree | 16879fa36bb60c0bce0d8eec6bd192c1ddee92d9 /java | |
| parent | 8974c33e2c93501e2f567b93a98acb747633048b (diff) | |
Fix navigation bar background for a dark theme
Do not requrest nav. bar light background copatibilify for a dark theme.
Fix: 309198382
Test: Enable 3-button navagation and visually verify that the navigation
bar and the Chooser backgrounds match. Both light and dark system themes
were checked.
Change-Id: I0745f15effdaaacfda9399341a14169451dda18f
Diffstat (limited to 'java')
| -rw-r--r-- | java/res/values-night/styles.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/java/res/values-night/styles.xml b/java/res/values-night/styles.xml new file mode 100644 index 00000000..95071bac --- /dev/null +++ b/java/res/values-night/styles.xml @@ -0,0 +1,22 @@ +<!-- + ~ Copyright (C) 2022 The Android Open Source 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 xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"> + + <style name="Theme.DeviceDefault.Resolver" parent="Theme.DeviceDefault.ResolverCommon"> + <item name="android:windowLightNavigationBar">false</item> + </style> +</resources> |