|
@@ -28,8 +28,8 @@
|
|
|
android:id="@+id/titleLayout"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
@@ -37,8 +37,8 @@
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
app:layout_constraintHorizontal_weight="1"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toLeftOf="@id/functionLayout"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toStartOf="@id/functionLayout"
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
@@ -54,8 +54,8 @@
|
|
|
android:textSize="@dimen/divider_24px"
|
|
|
android:textStyle="bold"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
@@ -65,7 +65,7 @@
|
|
|
android:layout_marginStart="@dimen/divider_53px"
|
|
|
android:layout_marginTop="@dimen/divider_20px"
|
|
|
app:isCircle="@{true}"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
app:loadHeadImg="@{User.INSTANCE.avatar}" />
|
|
|
|
|
@@ -77,8 +77,8 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:orientation="horizontal"
|
|
|
app:layout_constraintHorizontal_weight="1.6"
|
|
|
- app:layout_constraintLeft_toRightOf="@id/headLayout"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintStart_toEndOf="@id/headLayout"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
<LinearLayout
|
|
@@ -86,8 +86,8 @@
|
|
|
style="@style/workbenches_operate_btn"
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
android:gravity="center_horizontal"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toLeftOf="@+id/layoutHelp"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toStartOf="@+id/layoutHelp"
|
|
|
tools:ignore="MissingConstraints">
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
@@ -109,8 +109,8 @@
|
|
|
android:id="@+id/layoutHelp"
|
|
|
style="@style/workbenches_operate_btn"
|
|
|
android:gravity="center_horizontal"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/layoutLiveBroadcast"
|
|
|
- app:layout_constraintRight_toLeftOf="@+id/layoutNotify"
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/layoutLiveBroadcast"
|
|
|
+ app:layout_constraintEnd_toStartOf="@+id/layoutNotify"
|
|
|
tools:ignore="MissingConstraints">
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
@@ -130,8 +130,8 @@
|
|
|
android:id="@+id/layoutNotify"
|
|
|
style="@style/workbenches_operate_btn"
|
|
|
android:gravity="center_horizontal"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/layoutHelp"
|
|
|
- app:layout_constraintRight_toLeftOf="@+id/layoutServicePackage"
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/layoutHelp"
|
|
|
+ app:layout_constraintEnd_toStartOf="@+id/layoutServicePackage"
|
|
|
tools:ignore="MissingConstraints">
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
@@ -141,8 +141,8 @@
|
|
|
android:layout_marginTop="@dimen/divider_37px"
|
|
|
android:background="@mipmap/icon_notify"
|
|
|
android:scaleType="centerInside"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
<View
|
|
@@ -153,16 +153,16 @@
|
|
|
android:layout_marginTop="@dimen/divider_37px"
|
|
|
android:background="@drawable/shape_ract_gold"
|
|
|
android:visibility="gone"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
style="@style/workbenches_home_text"
|
|
|
android:layout_marginTop="@dimen/divider_8px"
|
|
|
android:text="@string/notify"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/notifyImage" />
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
@@ -170,8 +170,8 @@
|
|
|
android:id="@+id/layoutServicePackage"
|
|
|
style="@style/workbenches_operate_btn"
|
|
|
android:gravity="center_horizontal"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/layoutNotify"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/layoutNotify"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
tools:ignore="MissingConstraints">
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
@@ -200,8 +200,8 @@
|
|
|
app:cardCornerRadius="@dimen/divider_28px"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintHorizontal_weight="1"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toLeftOf="@id/rightLayout"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toStartOf="@id/rightLayout"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/titleLayout">
|
|
|
|
|
|
<LinearLayout
|
|
@@ -257,8 +257,8 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
app:loadImg="@{task.getGameImage()}"
|
|
|
app:roundRadius="@{8}" />
|
|
@@ -274,8 +274,8 @@
|
|
|
android:textSize="@dimen/divider_28px"
|
|
|
android:textStyle="bold"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent" />
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
@@ -304,16 +304,16 @@
|
|
|
android:layout_marginBottom="@dimen/divider_48px"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintHorizontal_weight="1.3"
|
|
|
- app:layout_constraintLeft_toRightOf="@id/leftLayout"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintStart_toEndOf="@id/leftLayout"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/titleLayout">
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:id="@+id/tvPlayPorpoise"
|
|
|
style="@style/home_right_tools_layout"
|
|
|
android:background="@drawable/bg_play_porpoise"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toLeftOf="@id/tvProfessionalEvaluation"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toStartOf="@id/tvProfessionalEvaluation"
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
@@ -323,8 +323,8 @@
|
|
|
android:layout_marginTop="@dimen/divider_47px"
|
|
|
android:background="@mipmap/icon_enjoy"
|
|
|
android:scaleType="centerInside"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
@@ -339,8 +339,8 @@
|
|
|
android:id="@+id/tvProfessionalEvaluation"
|
|
|
style="@style/home_right_tools_layout"
|
|
|
android:background="@drawable/bg_professional_evaluation"
|
|
|
- app:layout_constraintLeft_toRightOf="@id/tvPlayPorpoise"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintStart_toEndOf="@id/tvPlayPorpoise"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
@@ -365,8 +365,8 @@
|
|
|
style="@style/home_right_tools_layout"
|
|
|
android:layout_marginTop="@dimen/divider_28px"
|
|
|
android:background="@drawable/bg_health_counseling"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toLeftOf="@id/tvfunTime"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toStartOf="@id/tvfunTime"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tvPlayPorpoise">
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
@@ -392,8 +392,8 @@
|
|
|
android:layout_marginTop="@dimen/divider_28px"
|
|
|
android:background="@drawable/bg_fun_time"
|
|
|
android:gravity="center"
|
|
|
- app:layout_constraintLeft_toRightOf="@id/tvHealthCounseling"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintStart_toEndOf="@id/tvHealthCounseling"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tvPlayPorpoise">
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
@@ -419,8 +419,8 @@
|
|
|
android:layout_marginTop="@dimen/divider_28px"
|
|
|
android:background="@drawable/bg_data_content"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tvHealthCounseling">
|
|
|
|
|
|
<LinearLayout
|
|
@@ -431,8 +431,8 @@
|
|
|
android:orientation="vertical"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintHorizontal_weight="1"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toLeftOf="@id/accumulatedTrainingDurationLayout"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toStartOf="@id/accumulatedTrainingDurationLayout"
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
@@ -461,8 +461,8 @@
|
|
|
android:orientation="vertical"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintHorizontal_weight="1"
|
|
|
- app:layout_constraintLeft_toRightOf="@id/brainPowerValueLayout"
|
|
|
- app:layout_constraintRight_toLeftOf="@id/checkLayout"
|
|
|
+ app:layout_constraintStart_toEndOf="@id/brainPowerValueLayout"
|
|
|
+ app:layout_constraintEnd_toStartOf="@id/checkLayout"
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
@@ -490,8 +490,8 @@
|
|
|
android:gravity="center"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintHorizontal_weight="1"
|
|
|
- app:layout_constraintLeft_toRightOf="@id/accumulatedTrainingDurationLayout"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintStart_toEndOf="@id/accumulatedTrainingDurationLayout"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
<Button
|