|
@@ -117,6 +117,17 @@
|
|
|
app:layout_constraintVertical_chainStyle="packed"
|
|
|
tools:text="游客12e32td" />
|
|
|
|
|
|
+ <com.cooleshow.base.widgets.BadgeIconListView
|
|
|
+ android:id="@+id/ll_badge"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="5dp"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_nickname"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/tv_nickname"
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/iv_scan"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_nickname" />
|
|
|
+
|
|
|
<ImageView
|
|
|
android:id="@+id/iv_teacher_entry_tag"
|
|
|
android:layout_width="wrap_content"
|
|
@@ -167,83 +178,106 @@
|
|
|
android:id="@+id/iv_certification_status"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="5dp"
|
|
|
+ android:layout_marginStart="9dp"
|
|
|
android:src="@drawable/icon_home_un_certification"
|
|
|
- android:visibility="gone"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/rating_bar" />
|
|
|
+ android:visibility="visible"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_nickname"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/tv_nickname"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_nickname" />
|
|
|
|
|
|
- <View
|
|
|
- android:id="@+id/certification_tip_help_view"
|
|
|
- android:layout_width="1px"
|
|
|
- android:layout_height="1px"
|
|
|
- android:layout_marginBottom="15dp"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/iv_certification_status"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/iv_certification_status" />
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/iv_un_certification_tip"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="6dp"
|
|
|
+ android:layout_marginTop="6dp"
|
|
|
android:src="@drawable/icon_home_certification_tip"
|
|
|
android:visibility="gone"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/iv_certification_status"
|
|
|
+ app:layout_constraintRight_toRightOf="@+id/iv_certification_status"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/iv_certification_status" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/view_bg_teacher_extra"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="95dp"
|
|
|
+ android:layout_marginStart="14dp"
|
|
|
+ android:layout_marginTop="27dp"
|
|
|
+ android:layout_marginEnd="14dp"
|
|
|
+ android:background="#69B4FE"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/certification_tip_help_view" />
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/iv_avatar" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_fans_title"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="28dp"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
+ android:layout_marginTop="7dp"
|
|
|
+ android:drawableRight="@drawable/icon_arrow_background"
|
|
|
+ android:drawablePadding="2dp"
|
|
|
android:gravity="center"
|
|
|
android:paddingStart="8dp"
|
|
|
android:paddingEnd="8dp"
|
|
|
android:text="粉丝"
|
|
|
- android:textColor="@color/color_333333"
|
|
|
+ android:textColor="@color/white"
|
|
|
android:textSize="@dimen/sp_12"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/view_bg_teacher_extra"
|
|
|
app:layout_constraintLeft_toLeftOf="@+id/iv_avatar"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/iv_avatar" />
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/tv_course_num_complete_title"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_fans_num" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_course_num_complete_title"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="28dp"
|
|
|
+ android:layout_marginTop="7dp"
|
|
|
+ android:drawableRight="@drawable/icon_arrow_background"
|
|
|
+ android:drawablePadding="2dp"
|
|
|
android:gravity="center"
|
|
|
android:paddingStart="8dp"
|
|
|
android:paddingEnd="8dp"
|
|
|
android:text="已上课时"
|
|
|
- android:textColor="@color/color_333333"
|
|
|
+ android:textColor="@color/white"
|
|
|
android:textSize="@dimen/sp_12"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/tv_fans_title"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/view_bg_teacher_extra"
|
|
|
app:layout_constraintLeft_toRightOf="@+id/tv_fans_title"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/tv_fans_title" />
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/tv_course_num_no_start_title"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_course_num_completed" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_course_num_no_start_title"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="28dp"
|
|
|
+ android:layout_marginTop="7dp"
|
|
|
+ android:drawableRight="@drawable/icon_arrow_background"
|
|
|
+ android:drawablePadding="2dp"
|
|
|
android:gravity="center"
|
|
|
android:paddingStart="8dp"
|
|
|
android:paddingEnd="8dp"
|
|
|
android:text="未上课时"
|
|
|
- android:textColor="@color/color_333333"
|
|
|
+ android:textColor="@color/white"
|
|
|
android:textSize="@dimen/sp_12"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/tv_fans_title"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/view_bg_teacher_extra"
|
|
|
app:layout_constraintLeft_toRightOf="@+id/tv_course_num_complete_title"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/tv_fans_title" />
|
|
|
-
|
|
|
+ app:layout_constraintRight_toRightOf="@+id/view_bg_teacher_extra"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_course_num_not_start" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_fans_num"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:includeFontPadding="false"
|
|
|
android:text="0"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="@dimen/sp_17"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/sp_20"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/tv_fans_title"
|
|
|
app:layout_constraintLeft_toLeftOf="@+id/tv_fans_title"
|
|
|
app:layout_constraintRight_toRightOf="@+id/tv_fans_title"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/tv_fans_title"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_bg_teacher_extra"
|
|
|
+ app:layout_constraintVertical_chainStyle="packed"
|
|
|
tools:text="1344" />
|
|
|
|
|
|
<TextView
|
|
@@ -251,11 +285,14 @@
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:text="0"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="@dimen/sp_17"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/sp_20"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/tv_course_num_complete_title"
|
|
|
app:layout_constraintLeft_toLeftOf="@+id/tv_course_num_complete_title"
|
|
|
app:layout_constraintRight_toRightOf="@+id/tv_course_num_complete_title"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/tv_course_num_complete_title"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_bg_teacher_extra"
|
|
|
+ app:layout_constraintVertical_chainStyle="packed"
|
|
|
tools:text="34" />
|
|
|
|
|
|
<TextView
|
|
@@ -263,34 +300,57 @@
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:text="0"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="@dimen/sp_17"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/sp_20"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/tv_course_num_no_start_title"
|
|
|
app:layout_constraintLeft_toLeftOf="@+id/tv_course_num_no_start_title"
|
|
|
app:layout_constraintRight_toRightOf="@+id/tv_course_num_no_start_title"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/tv_course_num_no_start_title"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_bg_teacher_extra"
|
|
|
+ app:layout_constraintVertical_chainStyle="packed"
|
|
|
tools:text="34" />
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
android:id="@+id/group_teacher_extra"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:visibility="gone"
|
|
|
+ android:visibility="visible"
|
|
|
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" />
|
|
|
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/fl_top_menu"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="14dp"
|
|
|
+ android:layout_marginTop="14dp"
|
|
|
+ android:layout_marginEnd="14dp"
|
|
|
+ android:background="@drawable/bg_white_10dp"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/view_bg_teacher_extra">
|
|
|
+
|
|
|
+ <androidx.viewpager.widget.ViewPager
|
|
|
+ android:id="@+id/viewpager_menu"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/dp_90"
|
|
|
+ android:overScrollMode="never"
|
|
|
+ android:scrollbars="none" />
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:id="@+id/bg_announcement"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="44dp"
|
|
|
android:layout_marginStart="14dp"
|
|
|
- android:layout_marginTop="@dimen/dp_111"
|
|
|
+ android:layout_marginTop="14dp"
|
|
|
android:layout_marginEnd="14dp"
|
|
|
android:background="@drawable/bg_white_10dp"
|
|
|
android:elevation="2dp"
|
|
|
android:orientation="horizontal"
|
|
|
- android:visibility="invisible"
|
|
|
+ android:visibility="gone"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/iv_avatar"
|
|
|
- app:layout_goneMarginTop="@dimen/dp_100">
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/fl_top_menu">
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/iv_bell"
|