|
@@ -26,6 +26,7 @@
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
<ImageView
|
|
|
+ android:visibility="gone"
|
|
|
android:id="@+id/iv_self_introduction"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
@@ -36,24 +37,26 @@
|
|
|
app:layout_constraintTop_toTopOf="@+id/view_top_bg" />
|
|
|
|
|
|
<TextView
|
|
|
+ android:id="@+id/tv_self_introduction_title"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:includeFontPadding="false"
|
|
|
android:paddingStart="2dp"
|
|
|
android:text="@string/self_introduction_str"
|
|
|
android:textColor="@color/color_333333"
|
|
|
- android:textSize="@dimen/sp_16"
|
|
|
+ android:textSize="@dimen/sp_18"
|
|
|
android:textStyle="bold"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/iv_self_introduction"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/iv_self_introduction"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/iv_self_introduction" />
|
|
|
+ android:layout_marginStart="14dp"
|
|
|
+ android:layout_marginTop="14dp"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/view_top_bg"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_top_bg" />
|
|
|
|
|
|
<LinearLayout
|
|
|
android:id="@+id/introduction_view"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:orientation="vertical"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/iv_self_introduction">
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_self_introduction_title">
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_self_introduction"
|
|
@@ -78,9 +81,10 @@
|
|
|
android:paddingBottom="@dimen/dp_11"
|
|
|
android:visibility="gone"
|
|
|
app:empty_icon="@mipmap/teacher_introduce_empty_icon"
|
|
|
- app:empty_text="@string/introduction_empty_text"
|
|
|
+ app:empty_text="还没有内容,请「编辑」"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/iv_self_introduction"
|
|
|
app:ope_btn="@string/goto_write"
|
|
|
+ app:is_hide_btn="true"
|
|
|
tools:visibility="visible" />
|
|
|
</LinearLayout>
|
|
|
|
|
@@ -96,6 +100,7 @@
|
|
|
app:layout_constraintTop_toBottomOf="@+id/view_top_bg" />
|
|
|
|
|
|
<ImageView
|
|
|
+ android:visibility="gone"
|
|
|
android:id="@+id/iv_teacher_style"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
@@ -106,17 +111,19 @@
|
|
|
app:layout_constraintTop_toTopOf="@+id/view_video_bg" />
|
|
|
|
|
|
<TextView
|
|
|
+ android:id="@+id/tv_style_title"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:includeFontPadding="false"
|
|
|
android:paddingStart="2dp"
|
|
|
android:text="老师风采"
|
|
|
android:textColor="@color/color_333333"
|
|
|
- android:textSize="@dimen/sp_16"
|
|
|
+ android:textSize="@dimen/sp_18"
|
|
|
android:textStyle="bold"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/iv_teacher_style"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/iv_teacher_style"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/iv_teacher_style" />
|
|
|
+ android:layout_marginStart="14dp"
|
|
|
+ android:layout_marginTop="14dp"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/view_video_bg"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_video_bg" />
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
android:id="@+id/recyclerView"
|
|
@@ -129,7 +136,7 @@
|
|
|
android:scrollbars="none"
|
|
|
app:layout_constraintLeft_toLeftOf="@+id/view_video_bg"
|
|
|
app:layout_constraintRight_toRightOf="@+id/view_video_bg"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/iv_teacher_style" />
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_style_title" />
|
|
|
|
|
|
<View
|
|
|
android:id="@+id/view_video_bottom_line"
|
|
@@ -151,6 +158,7 @@
|
|
|
app:layout_constraintTop_toBottomOf="@+id/view_video_bg" />
|
|
|
|
|
|
<ImageView
|
|
|
+ android:visibility="gone"
|
|
|
android:id="@+id/iv_fans_group"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
@@ -161,17 +169,19 @@
|
|
|
app:layout_constraintTop_toTopOf="@+id/view_fans_group_bg" />
|
|
|
|
|
|
<TextView
|
|
|
+ android:id="@+id/tv_fans_group_title"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:includeFontPadding="false"
|
|
|
android:paddingStart="2dp"
|
|
|
android:text="粉丝群"
|
|
|
android:textColor="@color/color_333333"
|
|
|
- android:textSize="@dimen/sp_16"
|
|
|
+ android:textSize="@dimen/sp_18"
|
|
|
android:textStyle="bold"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/iv_fans_group"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/iv_fans_group"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/iv_fans_group" />
|
|
|
+ android:layout_marginTop="14dp"
|
|
|
+ android:layout_marginStart="14dp"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/view_fans_group_bg"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_fans_group_bg" />
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
android:id="@+id/recyclerView_fans"
|
|
@@ -182,7 +192,7 @@
|
|
|
android:layout_marginTop="@dimen/dp_8"
|
|
|
app:layout_constraintLeft_toLeftOf="@+id/view_fans_group_bg"
|
|
|
app:layout_constraintRight_toRightOf="@+id/view_fans_group_bg"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/iv_fans_group" />
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_fans_group_title" />
|
|
|
|
|
|
<View
|
|
|
android:id="@+id/view_fans_group_bottom_line"
|