|
@@ -1,26 +1,67 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<com.xuexiang.xui.widget.alpha.XUIAlphaLinearLayout
|
|
|
+<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
+ android:theme="@style/Theme.AppCompat"
|
|
|
>
|
|
|
+ <com.google.android.material.divider.MaterialDivider
|
|
|
+ android:id="@+id/divide_top"
|
|
|
+ app:dividerThickness="5dp"
|
|
|
+ app:dividerColor="#E7FBF9"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/divide_title"
|
|
|
+ />
|
|
|
|
|
|
+ <com.xuexiang.xui.widget.actionbar.TitleBar
|
|
|
+ android:id="@+id/divide_title"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:background="#F3FAF6"
|
|
|
+ app:tb_useThemeColor="false"
|
|
|
+ app:tb_barHeight="65dp"
|
|
|
+ app:tb_dividerColor="@color/white"
|
|
|
+ app:tb_sideTextColor="@color/black"
|
|
|
+ app:tb_leftText="当天任务"
|
|
|
+ app:tb_sideTextPadding="20dp"
|
|
|
+ app:tb_actionPadding="20dp"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/divide_bottom"
|
|
|
+ app:tb_leftImageResource="@null"
|
|
|
+ />
|
|
|
|
|
|
- <com.google.android.material.divider.MaterialDivider android:layout_width="match_parent"
|
|
|
- android:layout_height="118dp">
|
|
|
|
|
|
+ <com.google.android.material.divider.MaterialDivider
|
|
|
+ android:id="@+id/divide_bottom"
|
|
|
+ app:dividerThickness="5dp"
|
|
|
+ app:dividerColor="#E7FBF9"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/tasks_recycle"
|
|
|
+ />
|
|
|
|
|
|
- </com.google.android.material.divider.MaterialDivider>
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
android:id="@+id/tasks_recycle"
|
|
|
- android:layout_width="match_parent" android:layout_height="120dp"
|
|
|
+ android:layout_width="match_parent" android:layout_height="wrap_content"
|
|
|
android:scrollbars="vertical"
|
|
|
- android:background="#DA0D0D"
|
|
|
- android:layout_marginTop="300dp"
|
|
|
+ android:background="#EFEFEF"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/divide_bottom"
|
|
|
+ android:layout_marginHorizontal="5dp"
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-</com.xuexiang.xui.widget.alpha.XUIAlphaLinearLayout>
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|