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

Commit 8f4c557f authored by Richard MacGregor's avatar Richard MacGregor Committed by Steve Kondik
Browse files

Fix navigation view background and selection ripples

Change-Id: I68eb5c7f433175c6fa11a449bd6043916cb64ded
parent b99469b0
Loading
Loading
Loading
Loading
+20 −2
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2015 The CyanogenMod 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.
 -->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item
        android:state_selected="true"
@@ -9,5 +23,9 @@
    <item
        android:state_activated="true"
        android:drawable="@color/navigation_view_item_selected_fill"/>
    <item android:drawable="@color/navigation_view_item_default_fill"/>
    <ripple android:color="?android:colorControlHighlight">
        <item android:id="@android:id/mask">
            <color android:color="@color/navigation_view_item_default_fill" />
        </item>
    </ripple>
</selector>
 No newline at end of file
+6 −5
Original line number Diff line number Diff line
@@ -19,4 +19,5 @@
    android:id="@+id/navigation_view_layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/navigation_view_item_default_fill"
    android:divider="@null" />
+1 −0
Original line number Diff line number Diff line
@@ -19,4 +19,5 @@
    android:id="@+id/navigation_view_layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/navigation_view_item_default_fill"
    android:divider="@null" />