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

Commit 1854a4fc authored by Timi's avatar Timi Committed by Michael W
Browse files

Dialer: use black/white navigation colors

Change-Id: I9d2ee0bbc7d765e605d6f60c7866565c83dff295
parent 0a7f452e
Loading
Loading
Loading
Loading
+20 −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>
  <color name="nav_item">#80FFFFFF</color>
  <color name="nav_item_selected">#FFFFFF</color>
</resources>
+3 −0
Original line number Diff line number Diff line
@@ -25,4 +25,7 @@

  <!--  Colors for blocked numbers list -->
  <color name="blocked_number_block_color">#F44336</color>

  <color name="nav_item">#80666666</color>
  <color name="nav_item_selected">#666666</color>
</resources>
+2 −2
Original line number Diff line number Diff line
@@ -56,8 +56,8 @@ final class BottomNavItem extends LinearLayout {
    super.setSelected(selected);
    int colorId =
        selected
            ? ThemeComponent.get(getContext()).theme().getColorPrimary()
            : ThemeComponent.get(getContext()).theme().getTextColorSecondary();
            ? getContext().getResources().getColor(R.color.nav_item_selected)
            : getContext().getResources().getColor(R.color.nav_item);
    image.setImageTintList(ColorStateList.valueOf(colorId));
    text.setTextColor(colorId);
  }