| @ -1,73 +1,96 @@ | |||||
| <?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:background="@drawable/shape_kuang" | |||||
| android:orientation="vertical" | |||||
| android:padding="@dimen/dp_10"> | |||||
| android:orientation="vertical"> | |||||
| <TextView | |||||
| android:id="@+id/shangpinpianqu_name" | |||||
| <android.support.v7.widget.CardView | |||||
| android:layout_width="match_parent" | android:layout_width="match_parent" | ||||
| android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
| android:padding="@dimen/dp_5" /> | |||||
| 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:orientation="horizontal"> | |||||
| <LinearLayout | |||||
| android:layout_width="match_parent" | |||||
| android:layout_height="wrap_content" | |||||
| android:orientation="vertical"> | |||||
| <View | |||||
| android:layout_width="0dp" | |||||
| android:layout_height="1dp" | |||||
| android:layout_weight="1" /> | |||||
| <TextView | |||||
| android:id="@+id/shangpinpianqu_zonglan" | |||||
| android:layout_width="0dp" | |||||
| android:layout_height="wrap_content" | |||||
| android:layout_weight="4" | |||||
| android:padding="@dimen/dp_5" /> | |||||
| <TextView | |||||
| android:id="@+id/shangpinpianqu_name" | |||||
| android:layout_width="match_parent" | |||||
| android:layout_height="wrap_content" | |||||
| android:padding="10dp" | |||||
| android:textColor="@color/colorAccent" | |||||
| android:textSize="@dimen/text_size_16" /> | |||||
| </LinearLayout> | |||||
| <LinearLayout | |||||
| android:layout_width="match_parent" | |||||
| android:layout_height="wrap_content" | |||||
| android:orientation="horizontal"> | |||||
| <LinearLayout | |||||
| android:layout_width="match_parent" | |||||
| android:layout_height="wrap_content" | |||||
| android:orientation="horizontal"> | |||||
| <View | |||||
| android:layout_width="0dp" | |||||
| android:layout_height="1dp" | |||||
| android:layout_weight="1" /> | |||||
| <View | |||||
| android:layout_width="0dp" | |||||
| android:layout_height="1dp" | |||||
| android:layout_weight="1" /> | |||||
| <TextView | |||||
| android:id="@+id/shangpinpianqu_zonglan" | |||||
| android:layout_width="0dp" | |||||
| android:layout_height="wrap_content" | |||||
| android:layout_weight="4" | |||||
| android:padding="@dimen/dp_5" | |||||
| android:textSize="@dimen/text_size_14" /> | |||||
| <TextView | |||||
| android:id="@+id/shangpinpianqu_cunlan" | |||||
| android:layout_width="0dp" | |||||
| android:layout_height="wrap_content" | |||||
| android:layout_weight="4" | |||||
| android:padding="@dimen/dp_5" /> | |||||
| </LinearLayout> | |||||
| </LinearLayout> | |||||
| <LinearLayout | |||||
| android:layout_width="match_parent" | |||||
| android:layout_height="wrap_content" | |||||
| android:orientation="horizontal"> | |||||
| <LinearLayout | |||||
| android:layout_width="match_parent" | |||||
| android:layout_height="wrap_content" | |||||
| android:orientation="horizontal"> | |||||
| <View | |||||
| android:layout_width="0dp" | |||||
| android:layout_height="1dp" | |||||
| android:layout_weight="1" /> | |||||
| <View | |||||
| android:layout_width="0dp" | |||||
| android:layout_height="1dp" | |||||
| android:layout_weight="1" /> | |||||
| <TextView | |||||
| android:id="@+id/shangpinpianqu_konglan" | |||||
| android:layout_width="0dp" | |||||
| android:layout_height="wrap_content" | |||||
| android:layout_weight="4" | |||||
| android:padding="@dimen/dp_5" /> | |||||
| <TextView | |||||
| android:id="@+id/shangpinpianqu_cunlan" | |||||
| android:layout_width="0dp" | |||||
| android:layout_height="wrap_content" | |||||
| android:layout_weight="4" | |||||
| android:padding="@dimen/dp_5" | |||||
| android:textSize="@dimen/text_size_14" /> | |||||
| </LinearLayout> | |||||
| <LinearLayout | |||||
| android:layout_width="match_parent" | |||||
| android:layout_height="wrap_content" | |||||
| android:orientation="horizontal"> | |||||
| <View | |||||
| android:layout_width="0dp" | |||||
| android:layout_height="1dp" | |||||
| android:layout_weight="1" /> | |||||
| </LinearLayout> | |||||
| <TextView | |||||
| android:id="@+id/shangpinpianqu_konglan" | |||||
| android:layout_width="0dp" | |||||
| android:layout_height="wrap_content" | |||||
| android:layout_weight="4" | |||||
| android:padding="@dimen/dp_5" | |||||
| android:textSize="@dimen/text_size_14" /> | |||||
| </LinearLayout> | |||||
| </LinearLayout> | |||||
| </android.support.v7.widget.CardView> | |||||
| </LinearLayout> | </LinearLayout> | ||||