Parcourir la source

Replace list_selector background by ripple effect

Signed-off-by: Abdourahamane BOINAIDI <abdourahamane.boinaidi@infomaniak.com>
Abdourahamane BOINAIDI il y a 5 ans
Parent
commit
3c41a3ff09
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      src/main/res/layout/uploader_list_item_layout.xml

+ 3 - 1
src/main/res/layout/uploader_list_item_layout.xml

@@ -19,7 +19,9 @@
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="match_parent"
     android:layout_width="match_parent"
     android:layout_height="@dimen/standard_list_item_size"
     android:layout_height="@dimen/standard_list_item_size"
-    android:background="@drawable/list_selector"
+    android:focusable="true"
+    android:clickable="true"
+    android:background="?android:attr/selectableItemBackground"
     android:orientation="horizontal">
     android:orientation="horizontal">
 
 
     <ImageView
     <ImageView