|
@@ -104,7 +104,7 @@
|
|
|
android:text="@string/help" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:id="@+id/layoutNotify"
|
|
|
style="@style/workbenches_operate_btn"
|
|
|
android:gravity="center_horizontal"
|
|
@@ -113,17 +113,35 @@
|
|
|
tools:ignore="MissingConstraints">
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
+ android:id="@+id/notifyImage"
|
|
|
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" />
|
|
|
+ android:scaleType="centerInside"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/unReadLayout"
|
|
|
+ android:layout_width="@dimen/divider_14px"
|
|
|
+ android:layout_height="@dimen/divider_14px"
|
|
|
+ android:layout_marginStart="@dimen/divider_10px"
|
|
|
+ android:layout_marginTop="@dimen/divider_37px"
|
|
|
+ android:background="@drawable/shape_ract_gold"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="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" />
|
|
|
- </LinearLayout>
|
|
|
+ android:text="@string/notify"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/notifyImage" />
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:id="@+id/layoutServicePackage"
|
|
@@ -175,8 +193,8 @@
|
|
|
android:layout_marginStart="@dimen/divider_53px"
|
|
|
android:layout_marginTop="@dimen/divider_12px"
|
|
|
android:layout_weight="1"
|
|
|
- android:visibility="gone"
|
|
|
- android:background="@drawable/bg_home_task">
|
|
|
+ android:background="@drawable/bg_home_task"
|
|
|
+ android:visibility="gone">
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/taskImage"
|