From 3b2ae54b770ac23a4b3595f689e50ad5cabf1bdc Mon Sep 17 00:00:00 2001 From: lh <1209405678@qq.com> Date: Wed, 28 Feb 2018 09:14:58 +0800 Subject: [PATCH] =?UTF-8?q?=E7=88=B6=E6=AF=8D=E4=BB=A3=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../res/layout/fragment_index_fumudai.xml | 1 - app/src/main/res/layout/item_fumudai.xml | 44 +++++++++++++------ 2 files changed, 31 insertions(+), 14 deletions(-) diff --git a/app/src/main/res/layout/fragment_index_fumudai.xml b/app/src/main/res/layout/fragment_index_fumudai.xml index b32ebc0..fab8437 100644 --- a/app/src/main/res/layout/fragment_index_fumudai.xml +++ b/app/src/main/res/layout/fragment_index_fumudai.xml @@ -22,7 +22,6 @@ android:id="@+id/rv_fuwudai" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="@color/white" android:scrollbars="none" android:visibility="gone"> diff --git a/app/src/main/res/layout/item_fumudai.xml b/app/src/main/res/layout/item_fumudai.xml index 1bcbb6f..f0e4f20 100644 --- a/app/src/main/res/layout/item_fumudai.xml +++ b/app/src/main/res/layout/item_fumudai.xml @@ -1,22 +1,40 @@ - - - + android:clickable="true" + android:foreground="?android:attr/selectableItemBackground" + app:cardCornerRadius="@dimen/dp_4" + app:cardPreventCornerOverlap="false" + app:cardUseCompatPadding="true" + tools:targetApi="lollipop"> + + + + + + + + \ No newline at end of file