|
@@ -4,6 +4,13 @@
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
tools:ignore="ResourceName">
|
|
tools:ignore="ResourceName">
|
|
|
|
|
|
|
|
|
|
+ <data>
|
|
|
|
|
+
|
|
|
|
|
+ <variable
|
|
|
|
|
+ name="data"
|
|
|
|
|
+ type="com.yingyang.workbenches.entity.CountTrainBean" />
|
|
|
|
|
+ </data>
|
|
|
|
|
+
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
@@ -204,6 +211,7 @@
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="@dimen/divider_9px"
|
|
android:layout_marginTop="@dimen/divider_9px"
|
|
|
|
|
+ android:text="@{data.mentalPower}"
|
|
|
android:textColor="@android:color/white"
|
|
android:textColor="@android:color/white"
|
|
|
android:textSize="@dimen/divider_34px"
|
|
android:textSize="@dimen/divider_34px"
|
|
|
android:textStyle="bold" />
|
|
android:textStyle="bold" />
|
|
@@ -221,6 +229,7 @@
|
|
|
android:layout_height="0dp"
|
|
android:layout_height="0dp"
|
|
|
android:layout_marginTop="@dimen/divider_9px"
|
|
android:layout_marginTop="@dimen/divider_9px"
|
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
|
|
|
+ android:text="@{data.trainTime}"
|
|
|
android:textColor="@android:color/white"
|
|
android:textColor="@android:color/white"
|
|
|
android:textSize="@dimen/divider_32px"
|
|
android:textSize="@dimen/divider_32px"
|
|
|
android:textStyle="bold" />
|
|
android:textStyle="bold" />
|