| @ -1,22 +1,40 @@ | |||||
| <?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||||
| xmlns:app="http://schemas.android.com/apk/res-auto" | |||||
| xmlns:tools="http://schemas.android.com/tools" | |||||
| android:layout_width="match_parent" | android:layout_width="match_parent" | ||||
| android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
| android:gravity="center_horizontal" | |||||
| android:background="@drawable/shape_kuang" | |||||
| android:padding="@dimen/dp_10" | |||||
| android:orientation="vertical"> | android:orientation="vertical"> | ||||
| <ImageView | |||||
| android:id="@+id/item_fumudai_iv" | |||||
| android:layout_width="50dp" | |||||
| android:layout_height="50dp" /> | |||||
| <TextView | |||||
| android:id="@+id/item_fumudai_tv" | |||||
| android:layout_width="wrap_content" | |||||
| <android.support.v7.widget.CardView | |||||
| android:layout_width="match_parent" | |||||
| android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
| android:layout_marginTop="@dimen/dp_5" | |||||
| android:textSize="@dimen/text_size_14" /> | |||||
| android:clickable="true" | |||||
| android:foreground="?android:attr/selectableItemBackground" | |||||
| app:cardCornerRadius="@dimen/dp_4" | |||||
| app:cardPreventCornerOverlap="false" | |||||
| app:cardUseCompatPadding="true" | |||||
| tools:targetApi="lollipop"> | |||||
| <LinearLayout | |||||
| android:layout_width="match_parent" | |||||
| android:layout_height="wrap_content" | |||||
| android:gravity="center_horizontal" | |||||
| android:padding="@dimen/dp_10" | |||||
| android:orientation="vertical"> | |||||
| <ImageView | |||||
| android:id="@+id/item_fumudai_iv" | |||||
| android:layout_width="50dp" | |||||
| android:layout_height="50dp" /> | |||||
| <TextView | |||||
| android:id="@+id/item_fumudai_tv" | |||||
| android:layout_width="wrap_content" | |||||
| android:layout_height="wrap_content" | |||||
| android:layout_marginTop="@dimen/dp_5" | |||||
| android:textSize="@dimen/text_size_14" /> | |||||
| </LinearLayout> | |||||
| </android.support.v7.widget.CardView> | |||||
| </LinearLayout> | </LinearLayout> | ||||