|
|
@@ -1,18 +1,18 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="96dp"
|
|
|
+ android:layout_height="132dp"
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/image_view"
|
|
|
android:scaleType="centerCrop"
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
- android:layout_marginTop="12dp"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- android:layout_marginLeft="12dp"
|
|
|
- android:layout_width="72dp"
|
|
|
- android:layout_height="72dp" />
|
|
|
+ android:layout_marginLeft="16dp"
|
|
|
+ android:layout_width="100dp"
|
|
|
+ android:layout_height="100dp" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/name_view"
|
|
|
@@ -22,24 +22,78 @@
|
|
|
app:layout_constraintLeft_toRightOf="@+id/image_view"
|
|
|
android:layout_marginLeft="8dp"
|
|
|
android:layout_marginRight="80dp"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/image_view"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/price_view"
|
|
|
+ android:id="@+id/vip_tag_view"
|
|
|
android:text="VIP回报购"
|
|
|
- android:textColor="@color/red_F07422"
|
|
|
- android:textSize="12sp"
|
|
|
+ android:textColor="#C7A16D"
|
|
|
+ android:textSize="10sp"
|
|
|
+ android:gravity="center"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/image_view"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/image_view"
|
|
|
+ android:layout_marginBottom="36dp"
|
|
|
+ android:layout_marginRight="12dp"
|
|
|
+ android:layout_marginLeft="8dp"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/vip_price_view"
|
|
|
+ android:text="¥20.00"
|
|
|
+ android:textColor="#C7A16D"
|
|
|
+ android:textSize="13sp"
|
|
|
android:gravity="center"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/vip_tag_view"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/image_view"
|
|
|
+ android:layout_marginBottom="35dp"
|
|
|
+ android:layout_marginRight="12dp"
|
|
|
+ android:layout_marginLeft="8dp"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/nor_tag_view"
|
|
|
+ android:text="回报购"
|
|
|
+ android:textColor="@color/black_666666"
|
|
|
+ android:textSize="10sp"
|
|
|
+ android:gravity="center"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/image_view"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/image_view"
|
|
|
+ android:layout_marginBottom="8dp"
|
|
|
+ android:layout_marginRight="12dp"
|
|
|
+ android:layout_marginLeft="8dp"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/nor_price_view"
|
|
|
+ android:text="¥20.00"
|
|
|
+ android:textColor="#FF2D4B"
|
|
|
+ android:textSize="13sp"
|
|
|
+ android:gravity="center"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/nor_tag_view"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/image_view"
|
|
|
+ android:layout_marginBottom="8dp"
|
|
|
+ android:layout_marginRight="12dp"
|
|
|
+ android:layout_marginLeft="8dp"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:text="回报购"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="13sp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:background="@drawable/shape_blue_solid_rectangle_18"
|
|
|
android:layout_marginRight="12dp"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content" />
|
|
|
+ android:layout_width="71dp"
|
|
|
+ android:layout_height="24dp" />
|
|
|
|
|
|
<View
|
|
|
style="@style/style_item_line_full"
|