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

Unverified Commit 33261885 authored by Vincent Breitmoser's avatar Vincent Breitmoser Committed by GitHub
Browse files

Merge pull request #3742 from k9mail/selectableItemBackground

use native selectableItemBackground
parents 04c88b6c 88a3167b
Loading
Loading
Loading
Loading
+0 −22
Original line number Diff line number Diff line
<!--
  Copyright 2012 Roman Nurik

  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:drawable="@drawable/item_pressed" android:state_pressed="true" />
    <item android:drawable="@drawable/item_focused" android:state_focused="true" />
    <item android:drawable="@drawable/item_focused" android:state_selected="true" />
    <item android:drawable="@android:color/transparent" />
</selector>
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="?android:attr/selectableItemBackground"
    android:background="?selectableItemBackground"
    android:clickable="true"
    android:focusable="true"
    android:gravity="center_vertical"
+1 −1
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@
                android:focusable="false"
                android:layout_marginRight="3dip"
                android:src="?attr/iconFolder"
                android:background="?android:attr/selectableItemBackground"
                android:background="?selectableItemBackground"
                android:layout_width="wrap_content"
                android:layout_height="fill_parent"
                android:padding="8dp"
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
        android:id="@+id/client_certificate_spinner_delete"
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:background="?android:attr/selectableItemBackground"
        android:background="?selectableItemBackground"
        android:contentDescription="@string/client_certificate_spinner_delete"
        android:padding="8dp"
        android:src="?attr/iconActionCancel" />
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
    android:layout_height="32dp"
    android:visibility="gone"
    custom:previewInitialChild="0"
    android:background="@drawable/selectable_item_background"
    android:background="?selectableItemBackground"
    tools:showIn="@layout/message_view_header"
    tools:visibility="visible">

Loading