|
|
@@ -3,7 +3,8 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:fitsSystemWindows="true"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:background="@color/white">
|
|
|
|
|
|
<include layout="@layout/view_toolbar" />
|
|
|
|
|
|
@@ -26,135 +27,63 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="@dimen/margin_default"
|
|
|
- android:layout_marginBottom="@dimen/margin_default"
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="3"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="@dimen/text_sub_title" />
|
|
|
|
|
|
- <!--todo 详情 字号小一点-->
|
|
|
+ <!--资源信息-->
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_desc"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="@color/black_text_comfortable"
|
|
|
+ android:paddingTop="@dimen/margin_s"
|
|
|
+ android:paddingBottom="@dimen/margin_s"
|
|
|
+ android:textIsSelectable="true"/>
|
|
|
|
|
|
- <include layout="@layout/view_divider_slight" />
|
|
|
- <!--好评-->
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/margin_s"
|
|
|
- android:layout_marginBottom="@dimen/margin_s"
|
|
|
+ android:orientation="horizontal"
|
|
|
android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/iv_ding"
|
|
|
- android:layout_width="30dp"
|
|
|
- android:layout_height="30dp"
|
|
|
- android:rotation="180"
|
|
|
- android:src="@mipmap/ding"
|
|
|
- android:tint="@color/red_droid" />
|
|
|
-
|
|
|
+ android:layout_marginBottom="@dimen/margin_default">
|
|
|
<TextView
|
|
|
- android:id="@+id/tv_ding"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="@dimen/margin_sss"
|
|
|
- android:ellipsize="end"
|
|
|
- android:singleLine="true"
|
|
|
- android:textColor="@color/gray_text_s"
|
|
|
- android:textSize="@dimen/text_shop_name" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/iv_cai"
|
|
|
- android:layout_width="30dp"
|
|
|
- android:layout_height="30dp"
|
|
|
- android:layout_marginStart="@dimen/margin_default"
|
|
|
- android:src="@mipmap/ding"
|
|
|
- android:tint="@color/green_logo" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_cai"
|
|
|
+ android:id="@+id/tv_see_num"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="@dimen/margin_sss"
|
|
|
android:ellipsize="end"
|
|
|
android:singleLine="true"
|
|
|
android:textColor="@color/gray_text_s"
|
|
|
- android:textSize="@dimen/text_shop_name" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:layout_width="14dp"
|
|
|
- android:layout_height="14dp"
|
|
|
- android:layout_marginStart="@dimen/margin_default"
|
|
|
- android:src="@mipmap/see"
|
|
|
- android:tint="@color/black_text_comfortable"
|
|
|
- android:visibility="gone" />
|
|
|
+ android:textSize="@dimen/text_s" />
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/tv_see_num"
|
|
|
+ android:id="@+id/tv_fav_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:layout_marginStart="@dimen/margin_default"
|
|
|
- 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" />
|
|
|
-
|
|
|
-
|
|
|
- <Space
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/iv_fav"
|
|
|
- android:layout_width="22dp"
|
|
|
- android:layout_height="22dp"
|
|
|
- android:layout_marginStart="@dimen/margin_default"
|
|
|
- android:src="@mipmap/fav_no" />
|
|
|
-
|
|
|
-
|
|
|
+ android:textSize="@dimen/text_s" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <include layout="@layout/view_divider_slight" />
|
|
|
+ <include layout="@layout/view_divider_slight"/>
|
|
|
|
|
|
- <!--todo 图片-->
|
|
|
+ <!--图片-->
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/rv_detail"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:nestedScrollingEnabled="false"/>
|
|
|
|
|
|
+ <include layout="@layout/view_divider_slight"/>
|
|
|
|
|
|
-
|
|
|
-
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/rv_magnet"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:nestedScrollingEnabled="false"
|
|
|
+ android:layout_marginTop="@dimen/margin_ss"
|
|
|
+ android:layout_marginBottom="@dimen/margin_ss"/>
|
|
|
</LinearLayout>
|
|
|
</ScrollView>
|
|
|
</LinearLayout>
|