|
|
@@ -22,132 +22,137 @@
|
|
|
android:gravity="center_vertical"
|
|
|
android:orientation="vertical"
|
|
|
android:padding="@dimen/margin_s">
|
|
|
+ <!--标题-->
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_title"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginBottom="@dimen/margin_ss"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="3"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/text_normal_p" />
|
|
|
|
|
|
<FrameLayout
|
|
|
android:id="@+id/fl_video_play"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
+
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
|
android:id="@+id/aciv_goods"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="@dimen/height_cover"
|
|
|
android:scaleType="centerInside"
|
|
|
- app:riv_corner_radius="4dp"
|
|
|
- android:src="@mipmap/logo_gray"/>
|
|
|
+ android:src="@mipmap/logo_gray"
|
|
|
+ app:riv_corner_radius="4dp" />
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/iv_video_play"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_gravity="center"
|
|
|
- android:src="@mipmap/video_play"/>
|
|
|
+ android:src="@mipmap/video_play"
|
|
|
+ android:visibility="gone" />
|
|
|
</FrameLayout>
|
|
|
|
|
|
+ <!--好评-->
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="vertical"
|
|
|
- android:layout_marginTop="@dimen/margin_ss">
|
|
|
- <!--标题-->
|
|
|
+ android:layout_marginTop="@dimen/margin_ss"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingStart="@dimen/margin_ss"
|
|
|
+ android:paddingEnd="@dimen/margin_ss">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="22dp"
|
|
|
+ android:layout_height="22dp"
|
|
|
+ android:rotation="180"
|
|
|
+ android:src="@mipmap/ding"
|
|
|
+ android:tint="@color/red_droid" />
|
|
|
+
|
|
|
<TextView
|
|
|
- android:id="@+id/tv_title"
|
|
|
- android:layout_width="match_parent"
|
|
|
+ android:id="@+id/tv_ding"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginBottom="@dimen/margin_ss"
|
|
|
android:ellipsize="end"
|
|
|
- android:maxLines="3"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="@dimen/text_normal_p" />
|
|
|
+ android:singleLine="true"
|
|
|
+ android:textColor="@color/gray_text_s"
|
|
|
+ android:textSize="@dimen/text_shop_name"
|
|
|
+ android:layout_marginStart="@dimen/margin_sss"/>
|
|
|
|
|
|
- <!--好评-->
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="22dp"
|
|
|
+ android:layout_height="22dp"
|
|
|
+ android:layout_marginStart="@dimen/margin_default"
|
|
|
+ android:src="@mipmap/ding"
|
|
|
+ android:tint="@color/green_logo" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_cai"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:background="@drawable/shape_purple_tag_gradient"
|
|
|
- android:paddingStart="@dimen/margin_tag"
|
|
|
- android:paddingTop="@dimen/padding_tag"
|
|
|
- android:paddingEnd="@dimen/margin_tag"
|
|
|
- android:paddingBottom="@dimen/padding_tag"
|
|
|
- android:text=" 好评 "
|
|
|
- android:textColor="@color/white_slight"
|
|
|
- android:textSize="@dimen/text_sss" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_good_comment"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:background="@drawable/shape_purple_stroke_right"
|
|
|
- android:ellipsize="end"
|
|
|
- android:paddingStart="@dimen/margin_tag"
|
|
|
- android:paddingTop="@dimen/padding_tag"
|
|
|
- android:paddingEnd="@dimen/margin_tag"
|
|
|
- android:paddingBottom="@dimen/padding_tag"
|
|
|
- android:singleLine="true"
|
|
|
- android:textColor="@color/black_text"
|
|
|
- android:textSize="@dimen/text_sss"
|
|
|
- android:textStyle="bold"
|
|
|
- android:text="100%"/>
|
|
|
-
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:layout_width="20dp"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:src="@mipmap/zan"
|
|
|
- android:tint="@color/red_droid"
|
|
|
- android:rotation="180"
|
|
|
- android:layout_marginStart="@dimen/margin_s"/>
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_ding"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:ellipsize="end"
|
|
|
- android:singleLine="true"
|
|
|
- android:textColor="@color/gray_text_s"
|
|
|
- android:textSize="@dimen/text_shop_name"/>
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:layout_width="20dp"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:src="@mipmap/zan"
|
|
|
- android:tint="@color/green_logo"
|
|
|
- android:layout_marginStart="@dimen/margin_s"/>
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_cai"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:ellipsize="end"
|
|
|
- android:singleLine="true"
|
|
|
- android:textColor="@color/gray_text_s"
|
|
|
- android:textSize="@dimen/text_shop_name"/>
|
|
|
-
|
|
|
- <Space
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
- <ImageView
|
|
|
- android:layout_width="14dp"
|
|
|
- android:layout_height="14dp"
|
|
|
- android:src="@mipmap/see"
|
|
|
- android:tint="@color/black_text_comfortable"
|
|
|
- android:layout_marginStart="@dimen/margin_s"/>
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_see_num"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="@dimen/margin_ss"
|
|
|
- android:ellipsize="end"
|
|
|
- android:singleLine="true"
|
|
|
- android:textColor="@color/gray_text_s"
|
|
|
- android:textSize="@dimen/text_shop_name"/>
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:textColor="@color/gray_text_s"
|
|
|
+ android:textSize="@dimen/text_shop_name"
|
|
|
+ android:layout_marginStart="@dimen/margin_sss"/>
|
|
|
+
|
|
|
|
|
|
|
|
|
+
|
|
|
+ <Space
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="14dp"
|
|
|
+ android:layout_height="14dp"
|
|
|
+ android:layout_marginStart="@dimen/margin_s"
|
|
|
+ android:src="@mipmap/see"
|
|
|
+ android:tint="@color/black_text_comfortable"
|
|
|
+ android:visibility="gone"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_see_num"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/margin_ss"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:textColor="@color/gray_text_s"
|
|
|
+ android:textSize="@dimen/text_shop_name"
|
|
|
+ android:visibility="gone"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@drawable/shape_purple_tag_gradient"
|
|
|
+ android:paddingStart="@dimen/margin_tag"
|
|
|
+ android:paddingTop="@dimen/padding_tag"
|
|
|
+ android:paddingEnd="@dimen/margin_tag"
|
|
|
+ android:paddingBottom="@dimen/padding_tag"
|
|
|
+ android:text=" 好评 "
|
|
|
+ android:textColor="@color/white_slight"
|
|
|
+ android:textSize="@dimen/text_sss" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_good_comment"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@drawable/shape_purple_stroke_right"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:paddingStart="@dimen/margin_tag"
|
|
|
+ android:paddingTop="@dimen/padding_tag"
|
|
|
+ android:paddingEnd="@dimen/margin_tag"
|
|
|
+ android:paddingBottom="@dimen/padding_tag"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text="100%"
|
|
|
+ android:textColor="@color/black_text"
|
|
|
+ android:textSize="@dimen/text_sss"
|
|
|
+ android:textStyle="bold" />
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
|
</androidx.cardview.widget.CardView>
|