|
@@ -0,0 +1,532 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<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">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:adjustViewBounds="true"
|
|
|
+ android:scaleType="fitXY"
|
|
|
+ android:src="@drawable/bg_sparring_course_header"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <include
|
|
|
+ android:id="@+id/toolbar_include"
|
|
|
+ layout="@layout/common_toolbar_layout_white" />
|
|
|
+
|
|
|
+ <androidx.core.widget.NestedScrollView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:overScrollMode="never"
|
|
|
+ android:scrollbars="none"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/toolbar_include">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingStart="14dp"
|
|
|
+ android:paddingTop="12dp"
|
|
|
+ android:paddingEnd="14dp"
|
|
|
+ android:paddingBottom="12dp">
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@drawable/bg_white_10dp"
|
|
|
+ android:paddingBottom="20dp">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_time_icon"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="11dp"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:src="@drawable/icon_clock"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_course_time"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:paddingStart="7dp"
|
|
|
+ android:textColor="@color/color_666666"
|
|
|
+ android:textSize="@dimen/sp_13"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/iv_time_icon"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/iv_time_icon"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/iv_time_icon"
|
|
|
+ tools:text="2021/09/17 14:00~14:25" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_course_status"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginEnd="11dp"
|
|
|
+ android:text="已结束"
|
|
|
+ android:textColor="@color/color_999999"
|
|
|
+ android:textSize="@dimen/sp_14"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/iv_time_icon"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/iv_time_icon" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/view_line"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1px"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:background="@color/color_f2f2f2"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/iv_time_icon" />
|
|
|
+
|
|
|
+ <com.cooleshow.base.widgets.QMUIRadiusImageView
|
|
|
+ android:id="@+id/iv_avatar"
|
|
|
+ android:layout_width="47dp"
|
|
|
+ android:layout_height="51dp"
|
|
|
+ android:layout_marginStart="11dp"
|
|
|
+ android:layout_marginTop="17dp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/view_line" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_title"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ android:layout_marginEnd="10dp"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:maxLines="2"
|
|
|
+ android:textColor="@color/color_1a1a1a"
|
|
|
+ android:textSize="@dimen/sp_16"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/tv_course_name"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/iv_avatar"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/iv_avatar"
|
|
|
+ app:layout_constraintVertical_chainStyle="packed"
|
|
|
+ tools:text="张豆豆张豆豆张豆豆张豆" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_course_name"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:background="@drawable/shape_couse_type_text_bg"
|
|
|
+ android:gravity="center"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:paddingStart="4dp"
|
|
|
+ android:paddingTop="2dp"
|
|
|
+ android:paddingEnd="4dp"
|
|
|
+ android:paddingBottom="2dp"
|
|
|
+ android:textColor="@color/color_ff8c00"
|
|
|
+ android:textSize="@dimen/sp_11"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/iv_avatar"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/tv_title"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_title"
|
|
|
+ tools:text="单簧管" />
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:background="@drawable/bg_white_10dp"
|
|
|
+ android:paddingBottom="10dp">
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/view_title_line"
|
|
|
+ android:layout_width="4dp"
|
|
|
+ android:layout_height="14dp"
|
|
|
+ android:layout_marginStart="12dp"
|
|
|
+ android:layout_marginTop="13dp"
|
|
|
+ android:background="@drawable/shape_course_title_tag_bg"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_teacher_appraisal_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:paddingStart="5dp"
|
|
|
+ android:text="老师评价"
|
|
|
+ android:textColor="@color/color_1a1a1a"
|
|
|
+ android:textSize="@dimen/sp_13"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/view_title_line"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/view_title_line"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_title_line" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_set_teacher_comment"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:drawableLeft="@drawable/icon_edit_appraisal"
|
|
|
+ android:drawablePadding="3dp"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:paddingEnd="11dp"
|
|
|
+ android:text="@string/appraisal_str"
|
|
|
+ android:textColor="@color/color_2dc7aa"
|
|
|
+ android:textSize="@dimen/sp_14"
|
|
|
+ android:visibility="invisible"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/view_title_line"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_title_line" />
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/view_content_bg"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="11dp"
|
|
|
+ android:layout_marginTop="11dp"
|
|
|
+ android:layout_marginEnd="11dp"
|
|
|
+ android:background="@drawable/shape_bg_f7f8f9_4dp"
|
|
|
+ android:minHeight="88dp"
|
|
|
+ android:padding="11dp"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/view_title_line">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_teacher_appraisal_empty_text"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:drawableLeft="@drawable/icon_teacher_appraisal_empty"
|
|
|
+ android:drawablePadding="8dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:text="课程结束之后记得对学员的\n表现进行评价哦!"
|
|
|
+ android:textColor="@color/color_999999"
|
|
|
+ android:textSize="@dimen/sp_13" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_teacher_appraisal_content"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="@dimen/sp_13"
|
|
|
+ android:visibility="gone"
|
|
|
+ tools:text="每个音的指法比较熟练,但是遇到指法变换比较频繁的小节熟练度不足,建议平时可以选择指法变换较大的曲目多加练习!" />
|
|
|
+ </FrameLayout>
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:background="@drawable/bg_white_10dp"
|
|
|
+ android:paddingBottom="10dp">
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/view_title_line_stu_comment"
|
|
|
+ android:layout_width="4dp"
|
|
|
+ android:layout_height="14dp"
|
|
|
+ android:layout_marginStart="12dp"
|
|
|
+ android:layout_marginTop="13dp"
|
|
|
+ android:background="@drawable/shape_course_title_tag_bg"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_stu_comment_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:paddingStart="5dp"
|
|
|
+ android:text="学员评价"
|
|
|
+ android:textColor="@color/color_1a1a1a"
|
|
|
+ android:textSize="@dimen/sp_13"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/view_title_line_stu_comment"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/view_title_line_stu_comment"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_title_line_stu_comment" />
|
|
|
+
|
|
|
+ <RatingBar
|
|
|
+ android:visibility="gone"
|
|
|
+ android:id="@+id/rating_bar_for_student"
|
|
|
+ style="@style/HomeRatingBar"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="19dp"
|
|
|
+ android:layout_marginStart="6dp"
|
|
|
+ android:numStars="5"
|
|
|
+ android:rating="3"
|
|
|
+ android:stepSize="1"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_stu_comment_title"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/tv_stu_comment_title"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_stu_comment_title" />
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/view_stu_comment_content_bg"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="11dp"
|
|
|
+ android:layout_marginTop="11dp"
|
|
|
+ android:layout_marginEnd="11dp"
|
|
|
+ android:background="@drawable/shape_bg_f7f8f9_4dp"
|
|
|
+ android:minHeight="88dp"
|
|
|
+ android:padding="11dp"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/view_title_line_stu_comment">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_stu_comment_empty_text"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:drawableLeft="@drawable/icon_stu_comment_empty"
|
|
|
+ android:drawablePadding="8dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:text="学员尚未对您进行评价"
|
|
|
+ android:textColor="@color/color_999999"
|
|
|
+ android:textSize="@dimen/sp_13" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_stu_comment_content"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="@dimen/sp_13"
|
|
|
+ android:visibility="gone"
|
|
|
+ tools:text="每个音的指法比较熟练,但是遇到指法变换比较频繁的小节熟练度不足,建议平时可以选择指法变换较大的曲目多加练习!" />
|
|
|
+ </FrameLayout>
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:background="@drawable/bg_white_10dp"
|
|
|
+ android:paddingBottom="10dp">
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/view_title_line_homework"
|
|
|
+ android:layout_width="4dp"
|
|
|
+ android:layout_height="14dp"
|
|
|
+ android:layout_marginStart="12dp"
|
|
|
+ android:layout_marginTop="13dp"
|
|
|
+ android:background="@drawable/shape_course_title_tag_bg"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_homework_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:paddingStart="5dp"
|
|
|
+ android:text="课后作业"
|
|
|
+ android:textColor="@color/color_1a1a1a"
|
|
|
+ android:textSize="@dimen/sp_13"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/view_title_line_homework"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/view_title_line_homework"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_title_line_homework" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_set_homework"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:drawableLeft="@drawable/icon_set_homework"
|
|
|
+ android:drawablePadding="3dp"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:paddingEnd="11dp"
|
|
|
+ android:text="@string/set_homework_str"
|
|
|
+ android:textColor="@color/color_2dc7aa"
|
|
|
+ android:textSize="@dimen/sp_14"
|
|
|
+ android:visibility="invisible"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/view_title_line_homework"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_title_line_homework" />
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/view_homework_content_bg"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="11dp"
|
|
|
+ android:layout_marginTop="11dp"
|
|
|
+ android:layout_marginEnd="11dp"
|
|
|
+ android:background="@drawable/shape_bg_f7f8f9_4dp"
|
|
|
+ android:minHeight="88dp"
|
|
|
+ android:padding="11dp"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/view_title_line_homework">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_homework_empty_text"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:drawableLeft="@drawable/icon_homework_empty"
|
|
|
+ android:drawablePadding="8dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:text="课程结束之后记得布置作业哦!"
|
|
|
+ android:textColor="@color/color_999999"
|
|
|
+ android:textSize="@dimen/sp_13" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_homework_content"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="@dimen/sp_13"
|
|
|
+ android:visibility="gone"
|
|
|
+ tools:text="每个音的指法比较熟练,但是遇到指法变换比较频繁的小节熟练度不足,建议平时可以选择指法变换较大的曲目多加练习!" />
|
|
|
+ </FrameLayout>
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:background="@drawable/bg_white_10dp"
|
|
|
+ android:paddingBottom="10dp">
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/view_title_line_homework_video"
|
|
|
+ android:layout_width="4dp"
|
|
|
+ android:layout_height="14dp"
|
|
|
+ android:layout_marginStart="12dp"
|
|
|
+ android:layout_marginTop="13dp"
|
|
|
+ android:background="@drawable/shape_course_title_tag_bg"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_homework_video_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:paddingStart="5dp"
|
|
|
+ android:text="作业视频"
|
|
|
+ android:textColor="@color/color_1a1a1a"
|
|
|
+ android:textSize="@dimen/sp_13"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/view_title_line_homework_video"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/view_title_line_homework_video"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_title_line_homework_video" />
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/view_homework_video_content_bg"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="11dp"
|
|
|
+ android:layout_marginTop="11dp"
|
|
|
+ android:layout_marginEnd="11dp"
|
|
|
+ android:background="@drawable/shape_bg_f7f8f9_4dp"
|
|
|
+ android:minHeight="88dp"
|
|
|
+ android:padding="11dp"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/view_title_line_homework_video">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_homework_video_empty_text"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:drawableLeft="@drawable/icon_homework_video_empty"
|
|
|
+ android:drawablePadding="8dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:text="学员尚未上传作业视频"
|
|
|
+ android:textColor="@color/color_999999"
|
|
|
+ android:textSize="@dimen/sp_13" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_homework_video_content"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:weightSum="3"
|
|
|
+ tools:text="每个音的指法比较熟练,但是遇到指法变换比较频繁的小节熟练度不足,建议平时可以选择指法变换较大的曲目多加练习!" />
|
|
|
+ </FrameLayout>
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:background="@drawable/bg_white_10dp"
|
|
|
+ android:paddingBottom="10dp">
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/view_title_line_homework_comment"
|
|
|
+ android:layout_width="4dp"
|
|
|
+ android:layout_height="14dp"
|
|
|
+ android:layout_marginStart="12dp"
|
|
|
+ android:layout_marginTop="13dp"
|
|
|
+ android:background="@drawable/shape_course_title_tag_bg"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_homework_comment_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:paddingStart="5dp"
|
|
|
+ android:text="作业点评"
|
|
|
+ android:textColor="@color/color_1a1a1a"
|
|
|
+ android:textSize="@dimen/sp_13"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/view_title_line_homework_comment"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/view_title_line_homework_comment"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_title_line_homework_comment" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_homework_set_comment"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:drawableLeft="@drawable/icon_edit_appraisal"
|
|
|
+ android:drawablePadding="3dp"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:paddingEnd="11dp"
|
|
|
+ android:text="@string/comment_str"
|
|
|
+ android:textColor="@color/color_2dc7aa"
|
|
|
+ android:textSize="@dimen/sp_14"
|
|
|
+ android:visibility="invisible"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/view_title_line_homework_comment"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_title_line_homework_comment" />
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/view_homework_comment_content_bg"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="11dp"
|
|
|
+ android:layout_marginTop="11dp"
|
|
|
+ android:layout_marginEnd="11dp"
|
|
|
+ android:background="@drawable/shape_bg_f7f8f9_4dp"
|
|
|
+ android:minHeight="88dp"
|
|
|
+ android:padding="11dp"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/view_title_line_homework_comment">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_homework_comment_empty_text"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:drawableLeft="@drawable/icon_homework_comment"
|
|
|
+ android:drawablePadding="8dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:text="您尚未点评作业"
|
|
|
+ android:textColor="@color/color_999999"
|
|
|
+ android:textSize="@dimen/sp_13" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_homework_comment_content"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="@dimen/sp_13"
|
|
|
+ android:visibility="gone"
|
|
|
+ tools:text="每个音的指法比较熟练,但是遇到指法变换比较频繁的小节熟练度不足,建议平时可以选择指法变换较大的曲目多加练习!" />
|
|
|
+ </FrameLayout>
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+ </LinearLayout>
|
|
|
+ </androidx.core.widget.NestedScrollView>
|
|
|
+
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|