|
@@ -26,6 +26,7 @@
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
android:id="@+id/app_bar_layout"
|
|
|
+ android:paddingBottom="12dp"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:background="@color/transparent"
|
|
@@ -210,6 +211,7 @@
|
|
|
app:layout_constraintTop_toBottomOf="@+id/iv_avatar" />
|
|
|
|
|
|
<TextView
|
|
|
+ android:id="@+id/tv_add_course_plan"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:drawableStart="@drawable/icon_add_course_group_plan_tag"
|
|
@@ -219,31 +221,30 @@
|
|
|
android:text="添加课程规划"
|
|
|
android:textColor="@color/color_333333"
|
|
|
android:textSize="@dimen/sp_15"
|
|
|
- android:id="@+id/tv_add_course_plan"
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/view_add_plan"
|
|
|
app:layout_constraintLeft_toLeftOf="@+id/view_add_plan"
|
|
|
app:layout_constraintRight_toRightOf="@+id/view_add_plan"
|
|
|
app:layout_constraintTop_toTopOf="@+id/view_add_plan" />
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
- android:visibility="gone"
|
|
|
android:id="@+id/group_add_course_plan"
|
|
|
- app:constraint_referenced_ids="view_add_plan,tv_add_course_plan"
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:constraint_referenced_ids="view_add_plan,tv_add_course_plan" />
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
- android:visibility="gone"
|
|
|
- tools:visibility="visible"
|
|
|
- android:layout_width="match_parent"
|
|
|
android:id="@+id/cs_course_plan"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="12dp"
|
|
|
android:background="@drawable/bg_white_10dp"
|
|
|
android:padding="12dp"
|
|
|
+ android:visibility="gone"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/cs_header">
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/cs_header"
|
|
|
+ tools:visibility="visible">
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_plan_title"
|
|
@@ -258,6 +259,7 @@
|
|
|
android:textSize="@dimen/sp_15"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/tv_edit_plan"
|
|
|
android:layout_width="wrap_content"
|
|
@@ -274,17 +276,18 @@
|
|
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
|
android:id="@+id/sc_course_plan"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="12dp"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/tv_plan_title"
|
|
|
- app:layout_constraintHeight_max="88dp"
|
|
|
- android:scrollbars="vertical"
|
|
|
android:fadeScrollbars="false"
|
|
|
- android:scrollbarThumbVertical="@drawable/shape_e2e2e2_2dp"
|
|
|
android:scrollbarStyle="outsideInset"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ android:scrollbarThumbVertical="@drawable/shape_e2e2e2_2dp"
|
|
|
+ android:scrollbars="vertical"
|
|
|
+ app:layout_constraintHeight_max="88dp"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_plan_title">
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/tv_plan_content"
|
|
|
android:layout_width="match_parent"
|
|
@@ -301,98 +304,95 @@
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
</com.google.android.material.appbar.CollapsingToolbarLayout>
|
|
|
|
|
|
- <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
- android:id="@+id/cs_filter"
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_filter"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:paddingStart="14dp"
|
|
|
- android:paddingEnd="14dp">
|
|
|
-
|
|
|
- <androidx.constraintlayout.widget.Guideline
|
|
|
- android:id="@+id/guide_line1"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="vertical"
|
|
|
- app:layout_constraintGuide_percent="0.33" />
|
|
|
-
|
|
|
- <androidx.constraintlayout.widget.Guideline
|
|
|
- android:id="@+id/guide_line2"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="vertical"
|
|
|
- app:layout_constraintGuide_percent="0.66" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_time"
|
|
|
+ android:layout_marginStart="14dp"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:layout_marginEnd="14dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent">
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/fl_time"
|
|
|
android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:drawableRight="@drawable/icon_arrow_down"
|
|
|
- android:drawablePadding="6dp"
|
|
|
- android:ellipsize="end"
|
|
|
- android:gravity="center"
|
|
|
- android:includeFontPadding="false"
|
|
|
- android:maxLines="1"
|
|
|
- android:paddingEnd="5dp"
|
|
|
- android:paddingStart="5dp"
|
|
|
- android:paddingTop="12dp"
|
|
|
- android:paddingBottom="12dp"
|
|
|
- android:textColor="@color/color_131415"
|
|
|
- android:textSize="@dimen/sp_14"
|
|
|
- app:layout_constraintHorizontal_chainStyle="spread_inside"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toLeftOf="@+id/guide_line1"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- app:layout_constraintWidth_default="wrap"
|
|
|
- tools:text="2021年19月" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_course_status"
|
|
|
+ android:layout_height="26dp"
|
|
|
+ android:layout_marginEnd="11dp"
|
|
|
+ android:layout_weight="0.4"
|
|
|
+ android:background="@drawable/bg_white_4dp"
|
|
|
+ android:visibility="gone">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_time"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:drawableRight="@drawable/icon_arrow_down"
|
|
|
+ android:drawablePadding="4dp"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:gravity="center"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:maxLines="1"
|
|
|
+ android:text="@string/all_attendance_str"
|
|
|
+ android:textColor="@color/color_131415"
|
|
|
+ android:textSize="@dimen/sp_14"
|
|
|
+ tools:text="2024年10月" />
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/fl_status"
|
|
|
android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:drawableRight="@drawable/icon_arrow_down"
|
|
|
- android:drawablePadding="6dp"
|
|
|
- android:ellipsize="end"
|
|
|
- android:gravity="center"
|
|
|
- android:includeFontPadding="false"
|
|
|
- android:maxLines="1"
|
|
|
- android:paddingEnd="5dp"
|
|
|
- android:paddingStart="5dp"
|
|
|
- android:paddingTop="12dp"
|
|
|
- android:paddingBottom="12dp"
|
|
|
- android:text="全部状态"
|
|
|
- android:textColor="@color/color_131415"
|
|
|
- android:textSize="@dimen/sp_14"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/tv_time"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/guide_line1"
|
|
|
- app:layout_constraintRight_toLeftOf="@+id/guide_line2"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/tv_time"
|
|
|
- app:layout_constraintWidth_default="wrap"
|
|
|
- tools:text="课程状态" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_agency"
|
|
|
+ android:layout_height="26dp"
|
|
|
+ android:layout_marginEnd="11dp"
|
|
|
+ android:layout_weight="0.3"
|
|
|
+ android:background="@drawable/bg_white_4dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_course_status"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:background="@drawable/bg_white_10dp"
|
|
|
+ android:drawableRight="@drawable/icon_arrow_down"
|
|
|
+ android:drawablePadding="4dp"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:gravity="center"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:maxLines="1"
|
|
|
+ android:text="@string/all_course_status_str"
|
|
|
+ android:textColor="@color/color_131415"
|
|
|
+ android:textSize="@dimen/sp_14"
|
|
|
+ tools:text="全部状态" />
|
|
|
+
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/fl_attendance"
|
|
|
android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:drawableRight="@drawable/icon_arrow_down"
|
|
|
- android:drawablePadding="6dp"
|
|
|
- android:ellipsize="end"
|
|
|
- android:gravity="center"
|
|
|
- android:includeFontPadding="false"
|
|
|
- android:maxLines="1"
|
|
|
- android:paddingEnd="5dp"
|
|
|
- android:paddingStart="5dp"
|
|
|
- android:paddingTop="12dp"
|
|
|
- android:paddingBottom="12dp"
|
|
|
- android:text="全部考勤"
|
|
|
- android:textColor="@color/color_131415"
|
|
|
- android:textSize="@dimen/sp_14"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/tv_time"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/guide_line2"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/tv_time"
|
|
|
- app:layout_constraintWidth_default="wrap"
|
|
|
- tools:text="全部考勤" />
|
|
|
- </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+ android:layout_height="26dp"
|
|
|
+ android:layout_weight="0.3"
|
|
|
+ android:background="@drawable/bg_white_4dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_attendance_status"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:background="@drawable/bg_white_10dp"
|
|
|
+ android:drawableRight="@drawable/icon_arrow_down"
|
|
|
+ android:drawablePadding="4dp"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:gravity="center"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:maxLines="1"
|
|
|
+ android:text="@string/all_attendance_str"
|
|
|
+ android:textColor="@color/color_131415"
|
|
|
+ android:textSize="@dimen/sp_14"
|
|
|
+ tools:text="全部考勤" />
|
|
|
+ </FrameLayout>
|
|
|
+ </LinearLayout>
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|