industrial_operation/app/src/main/res/layout/layout_dialog_pingjia.xml

348 lines
15 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:orientation="vertical"
android:paddingTop="16dp"
android:paddingBottom="16dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="用户评价200+"
android:textColor="@color/color_txt_black"
android:textSize="18sp"
android:textStyle="bold" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:gravity="left|top"
android:orientation="horizontal"
android:paddingLeft="16dp"
android:paddingRight="16dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/bg_container_light_green_raduis_2"
android:paddingLeft="8dp"
android:paddingTop="4dp"
android:paddingRight="8dp"
android:paddingBottom="4dp"
android:text="全部"
android:textColor="@color/color_txt_green"
android:textSize="14sp"
android:textStyle="bold" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:background="@drawable/bg_container_light_gray_raduis_2"
android:paddingLeft="8dp"
android:paddingTop="4dp"
android:paddingRight="8dp"
android:paddingBottom="4dp"
android:text="成活率高"
android:textColor="@color/color_txt_black"
android:textSize="14sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:background="@drawable/bg_container_light_gray_raduis_2"
android:paddingLeft="8dp"
android:paddingTop="4dp"
android:paddingRight="8dp"
android:paddingBottom="4dp"
android:text="抗病率高"
android:textColor="@color/color_txt_black"
android:textSize="14sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:background="@drawable/bg_container_light_gray_raduis_2"
android:paddingLeft="8dp"
android:paddingTop="4dp"
android:paddingRight="8dp"
android:paddingBottom="4dp"
android:text="抗倒伏率高"
android:textColor="@color/color_txt_black"
android:textSize="14sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:gravity="left|top"
android:orientation="horizontal"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:paddingBottom="12dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/bg_container_light_gray_raduis_2"
android:paddingLeft="8dp"
android:paddingTop="4dp"
android:paddingRight="8dp"
android:paddingBottom="4dp"
android:text="坐果率高"
android:textColor="@color/color_txt_black"
android:textSize="14sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:background="@drawable/bg_container_light_gray_raduis_2"
android:paddingLeft="8dp"
android:paddingTop="4dp"
android:paddingRight="8dp"
android:paddingBottom="4dp"
android:text="果肉饱满"
android:textColor="@color/color_txt_black"
android:textSize="14sp" />
</LinearLayout>
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="450dp"
android:scrollbars="none">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<View
android:layout_width="match_parent"
android:layout_height="12dp"
android:background="@color/color_f8f8f8" />
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp">
<ImageView
android:id="@+id/headPic"
android:layout_width="32dp"
android:layout_height="32dp"
android:src="@mipmap/ic_default_head"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/userName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:text="l***e"
android:textColor="@color/color_txt_black"
android:textSize="14sp"
android:textStyle="bold"
app:layout_constraintLeft_toRightOf="@id/headPic"
app:layout_constraintTop_toTopOf="@id/headPic" />
<com.tairui.industrial_operation.widget.ratingbar.MyRatingBar
android:id="@+id/rating_bar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
app:layout_constraintLeft_toLeftOf="@id/userName"
app:layout_constraintTop_toBottomOf="@id/userName"
app:nrb_rating="4"
app:nrb_ratingStatus="Disable"
app:nrb_starEmptyResource="@mipmap/rating_normal"
app:nrb_starFullResource="@mipmap/rating_select"
app:nrb_starImageHeight="12dp"
app:nrb_starImageWidth="12dp"
app:nrb_starTotal="5" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="1个月前"
android:textColor="@color/color_txt_label"
android:textSize="12sp"
app:layout_constraintBottom_toBottomOf="@id/rating_bar"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="@id/rating_bar" />
<TextView
android:id="@+id/content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="这是第二次在你家购买了,西红柿很新鲜,个大,物流超极快,前天晚上下单,今天下午就到了。普罗旺斯西红柿个大,味浓,小时候味道,绿色食品,健康安全.值得购买.客服物流服务到位,建议大家关注"
android:textColor="@color/color_txt_black"
android:textSize="14sp"
app:layout_constraintLeft_toLeftOf="@id/userName"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@id/rating_bar" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:orientation="horizontal"
app:layout_constraintLeft_toLeftOf="@id/content"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@id/content">
<com.tairui.industrial_operation.widget.SquareWidthImageView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:src="@mipmap/pic_goods_detail_8" />
<com.tairui.industrial_operation.widget.SquareWidthImageView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_weight="1"
android:src="@mipmap/pic_goods_detail_9" />
<View
android:layout_width="0dp"
android:layout_height="1dp"
android:layout_marginLeft="8dp"
android:layout_weight="1" />
<View
android:layout_width="0dp"
android:layout_marginLeft="8dp"
android:layout_height="1dp"
android:layout_weight="1" />
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
<View
android:layout_width="match_parent"
android:layout_height="12dp"
android:background="@color/color_f8f8f8" />
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp">
<ImageView
android:id="@+id/headPic2"
android:layout_width="32dp"
android:layout_height="32dp"
android:src="@mipmap/ic_default_head"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/userName2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:text="l***e"
android:textColor="@color/color_txt_black"
android:textSize="14sp"
android:textStyle="bold"
app:layout_constraintLeft_toRightOf="@id/headPic2"
app:layout_constraintTop_toTopOf="@id/headPic2" />
<com.tairui.industrial_operation.widget.ratingbar.MyRatingBar
android:id="@+id/rating_bar2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
app:layout_constraintLeft_toLeftOf="@id/userName2"
app:layout_constraintTop_toBottomOf="@id/userName2"
app:nrb_rating="4"
app:nrb_ratingStatus="Disable"
app:nrb_starEmptyResource="@mipmap/rating_normal"
app:nrb_starFullResource="@mipmap/rating_select"
app:nrb_starImageHeight="12dp"
app:nrb_starImageWidth="12dp"
app:nrb_starTotal="5" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="1个月前"
android:textColor="@color/color_txt_label"
android:textSize="12sp"
app:layout_constraintBottom_toBottomOf="@id/rating_bar2"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="@id/rating_bar2" />
<TextView
android:id="@+id/content2"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="这是第二次在你家购买了,西红柿很新鲜,个大,物流超极快,前天晚上下单,今天下午就到了。普罗旺斯西红柿个大,味浓,小时候味道,绿色食品,健康安全.值得购买.客服物流服务到位,建议大家关注"
android:textColor="@color/color_txt_black"
android:textSize="14sp"
app:layout_constraintLeft_toLeftOf="@id/userName2"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@id/rating_bar2" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:orientation="horizontal"
app:layout_constraintLeft_toLeftOf="@id/content2"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@id/content2">
<com.tairui.industrial_operation.widget.SquareWidthImageView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:src="@mipmap/pic_goods_detail_10" />
<com.tairui.industrial_operation.widget.SquareWidthImageView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_weight="1"
android:src="@mipmap/pic_goods_detail_11" />
<View
android:layout_width="0dp"
android:layout_marginLeft="8dp"
android:layout_height="1dp"
android:layout_weight="1" />
<View
android:layout_width="0dp"
android:layout_marginLeft="8dp"
android:layout_height="1dp"
android:layout_weight="1" />
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</LinearLayout>