|
|
@@ -6,6 +6,8 @@
|
|
|
|
|
|
<data>
|
|
|
|
|
|
+ <import type="com.yingyangfly.baselib.utils.User" />
|
|
|
+
|
|
|
<variable
|
|
|
name="data"
|
|
|
type="com.yingyang.workbenches.entity.CountTrainBean" />
|
|
|
@@ -30,14 +32,16 @@
|
|
|
app:layout_constraintRight_toLeftOf="@id/functionLayout"
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
- <ImageView
|
|
|
+ <androidx.appcompat.widget.AppCompatImageView
|
|
|
android:id="@+id/imageSetting"
|
|
|
android:layout_width="@dimen/divider_80px"
|
|
|
android:layout_height="@dimen/divider_80px"
|
|
|
android:layout_marginStart="@dimen/divider_54px"
|
|
|
android:layout_marginTop="@dimen/divider_34px"
|
|
|
+ app:isCircle="@{true}"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:loadHeadImg="@{User.INSTANCE.avatar}" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
@@ -60,7 +64,7 @@
|
|
|
app:layout_constraintRight_toLeftOf="@+id/layoutHelp"
|
|
|
tools:ignore="MissingConstraints">
|
|
|
|
|
|
- <ImageView
|
|
|
+ <androidx.appcompat.widget.AppCompatImageView
|
|
|
android:layout_width="@dimen/divider_44px"
|
|
|
android:layout_height="@dimen/divider_35px"
|
|
|
android:layout_marginTop="@dimen/divider_37px"
|
|
|
@@ -68,7 +72,7 @@
|
|
|
android:scaleType="centerInside"
|
|
|
tools:ignore="ContentDescription" />
|
|
|
|
|
|
- <TextView
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
style="@style/workbenches_home_text"
|
|
|
android:layout_marginTop="@dimen/divider_13px"
|
|
|
android:text="@string/live_broadcast" />
|
|
|
@@ -83,14 +87,14 @@
|
|
|
app:layout_constraintRight_toLeftOf="@+id/layoutNotify"
|
|
|
tools:ignore="MissingConstraints">
|
|
|
|
|
|
- <ImageView
|
|
|
+ <androidx.appcompat.widget.AppCompatImageView
|
|
|
android:layout_width="@dimen/divider_38px"
|
|
|
android:layout_height="@dimen/divider_38px"
|
|
|
android:layout_marginTop="@dimen/divider_37px"
|
|
|
android:background="@mipmap/icon_help"
|
|
|
android:scaleType="centerInside" />
|
|
|
|
|
|
- <TextView
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
style="@style/workbenches_home_text"
|
|
|
android:layout_marginTop="@dimen/divider_10px"
|
|
|
android:text="@string/help" />
|
|
|
@@ -104,14 +108,14 @@
|
|
|
app:layout_constraintRight_toLeftOf="@+id/layoutServicePackage"
|
|
|
tools:ignore="MissingConstraints">
|
|
|
|
|
|
- <ImageView
|
|
|
+ <androidx.appcompat.widget.AppCompatImageView
|
|
|
android:layout_width="@dimen/divider_34px"
|
|
|
android:layout_height="@dimen/divider_40px"
|
|
|
android:layout_marginTop="@dimen/divider_37px"
|
|
|
android:background="@mipmap/icon_notify"
|
|
|
android:scaleType="centerInside" />
|
|
|
|
|
|
- <TextView
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
style="@style/workbenches_home_text"
|
|
|
android:layout_marginTop="@dimen/divider_8px"
|
|
|
android:text="@string/notify" />
|
|
|
@@ -125,14 +129,14 @@
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
tools:ignore="MissingConstraints">
|
|
|
|
|
|
- <ImageView
|
|
|
+ <androidx.appcompat.widget.AppCompatImageView
|
|
|
android:layout_width="@dimen/divider_44px"
|
|
|
android:layout_height="@dimen/divider_36px"
|
|
|
android:layout_marginTop="@dimen/divider_37px"
|
|
|
android:background="@mipmap/icon_service_package"
|
|
|
android:scaleType="centerInside" />
|
|
|
|
|
|
- <TextView
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
style="@style/workbenches_home_text"
|
|
|
android:layout_marginTop="@dimen/divider_12px"
|
|
|
android:text="@string/service_package" />
|
|
|
@@ -188,7 +192,7 @@
|
|
|
android:gravity="center_horizontal"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
- <TextView
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="@dimen/divider_30px"
|
|
|
@@ -196,7 +200,7 @@
|
|
|
android:textColor="@android:color/white"
|
|
|
android:textSize="@dimen/divider_24px" />
|
|
|
|
|
|
- <TextView
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="@dimen/divider_9px"
|
|
|
@@ -205,7 +209,7 @@
|
|
|
android:textSize="@dimen/divider_34px"
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
- <TextView
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="@dimen/divider_35px"
|
|
|
@@ -213,7 +217,7 @@
|
|
|
android:textColor="@android:color/white"
|
|
|
android:textSize="@dimen/divider_24px" />
|
|
|
|
|
|
- <TextView
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="0dp"
|
|
|
android:layout_marginTop="@dimen/divider_9px"
|