浏览代码

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