|
|
@@ -0,0 +1,60 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
+ tools:ignore="ResourceName">
|
|
|
+
|
|
|
+ <data>
|
|
|
+
|
|
|
+ <variable
|
|
|
+ name="data"
|
|
|
+ type="com.yingyangfly.home.entity.EvaluationResultBean" />
|
|
|
+ </data>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_98px"
|
|
|
+ android:background="@drawable/bg_evaluation_result"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@{data.reviewContent}"
|
|
|
+ android:textColor="@color/color_FF333333"
|
|
|
+ android:textSize="@dimen/divider_24px"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@{data.reviewScore}"
|
|
|
+ android:textColor="@color/color_FF333333"
|
|
|
+ android:textSize="@dimen/divider_24px"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@{data.referenceValue}"
|
|
|
+ android:textColor="@color/color_FF333333"
|
|
|
+ android:textSize="@dimen/divider_24px"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@{data.result}"
|
|
|
+ android:textColor="@color/color_FF333333"
|
|
|
+ android:textSize="@dimen/divider_24px"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+</layout>
|