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

Commit 590bed8f authored by Fahim's avatar Fahim
Browse files

Fix history & settings page statusBar color in darkMode

parent b9e9ad7d
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2017 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="DialtactsTheme" parent="Dialer.ThemeBase.ActionBar">

        <item name="android:navigationBarColor">?android:attr/windowBackground</item>
        <item name="android:navigationBarDividerColor">#E0E0E0</item>

        <item name="android:windowLightStatusBar">false</item>
        <item name="android:windowLightNavigationBar">false</item>
    </style>

    <style name="DialpadTheme" parent="DialpadBaseTheme">
        <item name="android:windowLightStatusBar">false</item>
        <item name="android:windowLightNavigationBar">false</item>
    </style>

    <style name="TransparentTheme" parent="TransparentBaseTheme">
        <item name="android:windowLightStatusBar">false</item>
        <item name="android:windowLightNavigationBar">false</item>
    </style>
</resources>
+9 −0
Original line number Diff line number Diff line
@@ -22,6 +22,15 @@

    <item name="android:windowLightStatusBar">true</item>
    <item name="android:windowLightNavigationBar">true</item>
  </style>

  <style name="DialpadTheme" parent="DialpadBaseTheme">
    <item name="android:windowLightStatusBar">true</item>
    <item name="android:windowLightNavigationBar">true</item>
  </style>

  <style name="TransparentTheme" parent="TransparentBaseTheme">
    <item name="android:windowLightStatusBar">true</item>
    <item name="android:windowLightNavigationBar">true</item>
  </style>
</resources>
+5 −12
Original line number Diff line number Diff line
@@ -17,20 +17,15 @@
<resources>
  <style name="DialtactsTheme" parent="Dialer.ThemeBase.ActionBar">
    <!-- todo(calderwoodra): fill this in with dialpad theme and call log card theme -->

    <item name="android:windowLightStatusBar">true</item>
    <item name="android:windowLightNavigationBar">true</item>
  </style>

  <style name="DialpadTheme" parent="DialtactsTheme">
  <style name="DialpadBaseTheme" parent="DialtactsTheme">
    <item name="android:textColorPrimary">@color/dialer_primary_text</item>
    <item name="android:windowLightStatusBar">true</item>
    <item name="android:windowLightNavigationBar">true</item>

  </style>

  <style name="DialpadTheme" parent="DialpadBaseTheme" />

  <style name="TransparentTheme" parent="DialtactsTheme">
  <style name="TransparentBaseTheme" parent="DialtactsTheme">
    <item name="android:alertDialogTheme">@style/AlertDialogTheme</item>
    <item name="android:windowBackground">@android:color/transparent</item>
    <item name="android:windowAnimationStyle">@android:style/Animation.Translucent</item>
@@ -38,12 +33,10 @@
    <item name="android:windowIsTranslucent">true</item>
    <item name="android:windowNoTitle">true</item>
    <item name="android:windowIsFloating">true</item>

    <item name="android:windowLightStatusBar">true</item>
    <item name="android:windowLightNavigationBar">true</item>

  </style>

  <style name="TransparentTheme" parent="TransparentBaseTheme" />

  <style name="ActionModeStyle" parent="Widget.AppCompat.ActionMode">
    <item name="android:background">?android:attr/colorPrimary</item>
    <item name="background">?android:attr/colorPrimary</item>
+21 −0
Original line number Diff line number Diff line
<!--
  ~ Copyright (C) 2012 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="SettingsStyle" parent="SettingsBaseStyle">
        <item name="android:windowLightStatusBar">false</item>
        <item name="android:windowLightNavigationBar">false</item>
    </style>
</resources>
+21 −0
Original line number Diff line number Diff line
<!--
  ~ Copyright (C) 2012 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="SettingsStyle" parent="SettingsBaseStyle">
        <item name="android:windowLightStatusBar">true</item>
        <item name="android:windowLightNavigationBar">true</item>
    </style>
</resources>
Loading