Переглянути джерело

Replace list_selector background by ripple effect

Signed-off-by: Abdourahamane BOINAIDI <abdourahamane.boinaidi@infomaniak.com>
Abdourahamane BOINAIDI 5 роки тому
батько
коміт
3c41a3ff09
1 змінених файлів з 3 додано та 1 видалено
  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