Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6bfc79d7 authored by Youming Ye's avatar Youming Ye
Browse files

Patch dark theme for missed icons and bars

Test: Manual
Bug: 130426063
Change-Id: I21070d25b0b64533038054757d6814a1aa3719c9
AOSP: Infeasible, Dark Theme not available in AOSP
parent baf9f3e7
Loading
Loading
Loading
Loading
+41 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2019 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>

    <style name="Theme.Telecom.DialerSettings" parent="@android:style/Theme.Material.Light">
        <item name="android:forceDarkAllowed">true</item>
        <item name="android:tint">@color/blocked_numbers_secondary_text_color</item>
        <item name="android:actionBarStyle">@style/TelecomDialerSettingsActionBarStyle</item>
        <item name="android:navigationBarColor">@color/background_color</item>
        <item name="android:windowBackground">@color/background_color</item>
        <item name="android:colorPrimaryDark">@color/background_color</item>
        <item name="android:actionOverflowButtonStyle">@style/TelecomDialerSettingsActionOverflowButtonStyle</item>
        <item name="android:windowContentOverlay">@null</item>
    </style>

    <style name="Theme.Telecom.BlockedNumbers" parent="@android:style/Theme.Material.Light">
        <item name="android:forceDarkAllowed">true</item>
        <item name="android:actionBarStyle">@style/TelecomDialerSettingsActionBarStyle</item>
        <item name="android:navigationBarColor">@color/background_color</item>
        <item name="android:windowBackground">@color/background_color</item>
        <item name="android:colorPrimaryDark">@color/background_color</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:colorAccent">@color/theme_color</item>
        <item name="android:listDivider">@null</item>
    </style>

</resources>