|
@@ -83,6 +83,28 @@
|
|
|
android:text="游客12e32td"
|
|
|
tools:text="游客12e32td" />
|
|
|
|
|
|
+ <ImageView
|
|
|
+ android:visibility="gone"
|
|
|
+ android:id="@+id/iv_teacher_entry_tag"
|
|
|
+ android:layout_marginStart="6dp"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/tv_nickname"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_nickname"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_nickname"
|
|
|
+ android:src="@drawable/icon_teahcer_entry_tag"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:visibility="gone"
|
|
|
+ android:id="@+id/iv_teacher_music_person_tag"
|
|
|
+ android:layout_marginStart="3dp"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/iv_teacher_entry_tag"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/iv_teacher_entry_tag"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/iv_teacher_entry_tag"
|
|
|
+ android:src="@drawable/icon_teacher_music_person_tag"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
<RatingBar
|
|
|
android:id="@+id/rating_bar"
|
|
|
style="@style/HomeRatingBar"
|
|
@@ -96,6 +118,7 @@
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tv_nickname" />
|
|
|
|
|
|
<ImageView
|
|
|
+ android:visibility="gone"
|
|
|
android:id="@+id/iv_certification_status"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
@@ -113,6 +136,7 @@
|
|
|
app:layout_constraintLeft_toLeftOf="@+id/iv_certification_status" />
|
|
|
|
|
|
<ImageView
|
|
|
+ android:visibility="gone"
|
|
|
android:id="@+id/iv_un_certification_tip"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
@@ -121,6 +145,92 @@
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/certification_tip_help_view" />
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_fans_title"
|
|
|
+ android:paddingEnd="8dp"
|
|
|
+ android:paddingStart="8dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/iv_avatar"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/iv_avatar"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="@dimen/sp_12"
|
|
|
+ android:text="粉丝"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="28dp"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_course_num_complete_title"
|
|
|
+ android:paddingEnd="8dp"
|
|
|
+ android:paddingStart="8dp"
|
|
|
+ android:gravity="center"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_fans_title"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/tv_fans_title"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_fans_title"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="@dimen/sp_12"
|
|
|
+ android:text="已上课时"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="28dp"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_course_num_no_start_title"
|
|
|
+ android:paddingEnd="8dp"
|
|
|
+ android:paddingStart="8dp"
|
|
|
+ android:gravity="center"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_fans_title"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/tv_course_num_complete_title"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_fans_title"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="@dimen/sp_12"
|
|
|
+ android:text="未上课时"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="28dp"/>
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_fans_num"
|
|
|
+ app:layout_constraintRight_toRightOf="@+id/tv_fans_title"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/tv_fans_title"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_fans_title"
|
|
|
+ android:text="0"
|
|
|
+ tools:text="1344"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/sp_17"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_course_num_completed"
|
|
|
+ app:layout_constraintRight_toRightOf="@+id/tv_course_num_complete_title"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/tv_course_num_complete_title"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_course_num_complete_title"
|
|
|
+ android:text="0"
|
|
|
+ tools:text="34"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/sp_17"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_course_num_not_start"
|
|
|
+ app:layout_constraintRight_toRightOf="@+id/tv_course_num_no_start_title"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/tv_course_num_no_start_title"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_course_num_no_start_title"
|
|
|
+ android:text="0"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/sp_17"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ tools:text="34"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.Group
|
|
|
+ android:visibility="gone"
|
|
|
+ android:id="@+id/group_teacher_extra"
|
|
|
+ app:constraint_referenced_ids="tv_course_num_not_start,tv_course_num_completed,tv_fans_num,tv_fans_title,tv_course_num_complete_title,tv_course_num_no_start_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
<LinearLayout
|
|
|
android:id="@+id/bg_announcement"
|
|
|
android:layout_width="match_parent"
|