|
@@ -24,6 +24,17 @@
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
tools:text="开课时间:2024-11-16 09:30" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_course_status"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="@color/color_999999"
|
|
|
+ android:textSize="@dimen/sp_14"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_time"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_time"
|
|
|
+ tools:text="未开始" />
|
|
|
+
|
|
|
|
|
|
<com.cooleshow.base.widgets.QMUIRadiusImageView
|
|
|
android:id="@+id/iv_bg"
|
|
@@ -151,6 +162,7 @@
|
|
|
tools:text="严老师" />
|
|
|
|
|
|
<TextView
|
|
|
+ android:visibility="gone"
|
|
|
android:id="@+id/tv_price"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
@@ -164,6 +176,7 @@
|
|
|
app:layout_constraintRight_toLeftOf="@+id/tv_price_unit" />
|
|
|
|
|
|
<TextView
|
|
|
+ android:visibility="gone"
|
|
|
android:id="@+id/tv_price_symbol"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
@@ -175,6 +188,7 @@
|
|
|
app:layout_constraintRight_toLeftOf="@+id/tv_price" />
|
|
|
|
|
|
<TextView
|
|
|
+ android:visibility="gone"
|
|
|
android:includeFontPadding="false"
|
|
|
android:id="@+id/tv_price_unit"
|
|
|
android:layout_width="wrap_content"
|
|
@@ -185,6 +199,69 @@
|
|
|
android:textSize="@dimen/sp_12"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
app:layout_constraintBaseline_toBaselineOf="@+id/tv_price" />
|
|
|
+ <ImageView
|
|
|
+ android:layout_marginEnd="4dp"
|
|
|
+ android:id="@+id/iv_course_tag"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:src="@drawable/icon_course_completed_tag"
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/tv_course_completed_title"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_course_completed_title"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_course_completed_title" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_course_completed_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:text="已上课时"
|
|
|
+ android:textColor="@color/color_999999"
|
|
|
+ android:textSize="@dimen/sp_12"
|
|
|
+ app:layout_constraintBaseline_toBaselineOf="@+id/tv_course_completed_value"
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/tv_course_completed_value" />
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_course_completed_value"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:paddingStart="3dp"
|
|
|
+ android:paddingEnd="3dp"
|
|
|
+ android:text="0"
|
|
|
+ android:textColor="@color/color_2dc7aa"
|
|
|
+ android:textSize="@dimen/sp_12"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintBaseline_toBaselineOf="@+id/tv_course_total_title"
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/tv_course_total_title" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_course_total_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:text="/总课时"
|
|
|
+ android:textColor="@color/color_999999"
|
|
|
+ android:textSize="@dimen/sp_12"
|
|
|
+ app:layout_constraintBaseline_toBaselineOf="@+id/tv_course_total_value"
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/tv_course_total_value" />
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_course_total_value"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:paddingStart="3dp"
|
|
|
+ android:paddingEnd="3dp"
|
|
|
+ android:text="0"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="@dimen/sp_12"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_teacher_name"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_teacher_name"
|
|
|
+ app:layout_constraintRight_toRightOf="parent" />
|
|
|
+
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/iv_chat"
|