|
|
@@ -20,18 +20,18 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal"
|
|
|
+ android:orientation="vertical"
|
|
|
android:padding="@dimen/margin_s">
|
|
|
|
|
|
<FrameLayout
|
|
|
android:id="@+id/fl_video_play"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
|
android:id="@+id/aciv_goods"
|
|
|
- android:layout_width="@dimen/size_image_list"
|
|
|
- android:layout_height="@dimen/size_image_list"
|
|
|
- android:scaleType="center"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/height_cover"
|
|
|
+ android:scaleType="centerInside"
|
|
|
app:riv_corner_radius="4dp"
|
|
|
android:src="@mipmap/logo_gray"/>
|
|
|
|
|
|
@@ -43,15 +43,11 @@
|
|
|
android:src="@mipmap/video_play"/>
|
|
|
</FrameLayout>
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="@dimen/margin_s"
|
|
|
- android:minHeight="@dimen/size_image_list"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_marginTop="@dimen/margin_ss">
|
|
|
<!--标题-->
|
|
|
<TextView
|
|
|
android:id="@+id/tv_title"
|
|
|
@@ -59,220 +55,98 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginBottom="@dimen/margin_ss"
|
|
|
android:ellipsize="end"
|
|
|
- android:maxLines="2"
|
|
|
+ android:maxLines="3"
|
|
|
android:textColor="@color/black"
|
|
|
- android:textSize="@dimen/text_normal" />
|
|
|
-
|
|
|
- <Space
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:layout_weight="1" />
|
|
|
-
|
|
|
+ android:textSize="@dimen/text_normal_p" />
|
|
|
|
|
|
- <!--一句话推荐-->
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_reason"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginBottom="@dimen/margin_ss"
|
|
|
- android:background="@drawable/shape_gray_tag"
|
|
|
- android:ellipsize="end"
|
|
|
- android:paddingStart="@dimen/margin_s"
|
|
|
- android:paddingTop="@dimen/padding_tag"
|
|
|
- android:paddingEnd="@dimen/margin_s"
|
|
|
- android:paddingBottom="@dimen/padding_tag"
|
|
|
- android:singleLine="true"
|
|
|
- android:textColor="@color/jd_gray_bg_text"
|
|
|
- android:textSize="@dimen/text_ss" />
|
|
|
-
|
|
|
- <Space
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:layout_weight="1" />
|
|
|
-
|
|
|
- <!--价格-->
|
|
|
+ <!--好评-->
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:gravity="center_vertical"
|
|
|
android:orientation="horizontal">
|
|
|
-
|
|
|
<TextView
|
|
|
- android:id="@+id/tv_old_price"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textColor="@color/jd_gray_text"
|
|
|
- android:textSize="@dimen/text_normal"
|
|
|
- android:textStyle="bold"
|
|
|
- android:visibility="gone"/>
|
|
|
+ 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:textColor="@color/black_theme"
|
|
|
- android:textSize="@dimen/text_normal"
|
|
|
+ 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=" - "
|
|
|
- android:visibility="gone"/>
|
|
|
+ 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_now_price"
|
|
|
+ android:id="@+id/tv_ding"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textColor="@color/jd_red_price"
|
|
|
- android:textSize="@dimen/text_normal"
|
|
|
- android:textStyle="bold" />
|
|
|
-
|
|
|
+ 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:textColor="@color/jd_gray_text"
|
|
|
- android:textSize="@dimen/text_normal"
|
|
|
- android:textStyle="bold"
|
|
|
- android:text=" = "
|
|
|
- android:visibility="gone"/>
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:textColor="@color/gray_text_s"
|
|
|
+ android:textSize="@dimen/text_shop_name"/>
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_rebate"
|
|
|
+ <Space
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_weight="1"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:textColor="@color/black_theme"
|
|
|
- android:textSize="@dimen/text_normal"
|
|
|
- android:singleLine="true"
|
|
|
- android:ellipsize="marquee"
|
|
|
- android:marqueeRepeatLimit="marquee_forever"
|
|
|
- android:scrollHorizontally="true"
|
|
|
- android:textStyle="bold"
|
|
|
- android:visibility="gone"/>
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <Space
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:layout_weight="1" />
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="vertical">
|
|
|
- <!--自营-->
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginBottom="@dimen/margin_ss"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_self"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:background="@drawable/shape_red_tag_gradient"
|
|
|
- android:paddingStart="@dimen/margin_tag"
|
|
|
- android:paddingTop="@dimen/padding_tag"
|
|
|
- android:paddingEnd="@dimen/margin_tag"
|
|
|
- android:paddingBottom="@dimen/padding_tag"
|
|
|
- android:layout_marginEnd="@dimen/margin_ss"
|
|
|
- android:text="自营"
|
|
|
- android:textColor="@color/white_slight"
|
|
|
- android:textSize="@dimen/text_sss" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_shop_name"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:ellipsize="end"
|
|
|
- android:singleLine="true"
|
|
|
- android:textColor="@color/gray_text_s"
|
|
|
- android:textSize="@dimen/text_shop_name" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
-
|
|
|
- <!--好评-->
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- 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" />
|
|
|
-
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_comment_num"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:gravity="end"
|
|
|
- android:layout_marginStart="@dimen/margin_ss"
|
|
|
- android:paddingStart="@dimen/margin_sss"
|
|
|
- android:paddingEnd="@dimen/margin_sss"
|
|
|
- android:ellipsize="end"
|
|
|
- android:singleLine="true"
|
|
|
- android:textColor="@color/gray_text_s"
|
|
|
- android:textSize="@dimen/text_shop_name" />
|
|
|
-
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
-
|
|
|
- <!--<LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:gravity="bottom">
|
|
|
- <LinearLayout
|
|
|
+ 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:background="@drawable/shape_black_radius_transparent"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="vertical"
|
|
|
- android:padding="@dimen/margin_ss"
|
|
|
android:layout_marginStart="@dimen/margin_ss"
|
|
|
- android:visibility="gone">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="购买返现"
|
|
|
- android:textColor="@color/white_slight"
|
|
|
- android:textSize="@dimen/text_rebate_tips" />
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:textColor="@color/gray_text_s"
|
|
|
+ android:textSize="@dimen/text_shop_name"/>
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:textColor="@color/jd_yellow_bg_tag_select_from"
|
|
|
- android:textSize="@dimen/text_s" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
- </LinearLayout>-->
|
|
|
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|