Browse Source

Replace list_selector background by ripple effect

Signed-off-by: Abdourahamane BOINAIDI <abdourahamane.boinaidi@infomaniak.com>
Abdourahamane BOINAIDI 5 năm trước cách đây
mục cha
commit
3c41a3ff09
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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"
     android:layout_width="match_parent"
     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">
 
     <ImageView