Browse Source

Replace list_selector background by ripple effect

Signed-off-by: Abdourahamane BOINAIDI <abdourahamane.boinaidi@infomaniak.com>
Abdourahamane BOINAIDI 5 years ago
parent
commit
3c41a3ff09
1 changed files with 3 additions and 1 deletions
  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