|
@@ -4,8 +4,8 @@
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:overScrollMode="never"
|
|
|
android:background="@color/color_f6f8f9"
|
|
|
+ android:overScrollMode="never"
|
|
|
android:scrollbars="none">
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
@@ -92,10 +92,10 @@
|
|
|
style="@style/HomeRatingBar"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="19dp"
|
|
|
+ android:isIndicator="true"
|
|
|
android:numStars="5"
|
|
|
android:rating="0"
|
|
|
android:stepSize="1"
|
|
|
- android:isIndicator="true"
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/iv_avatar"
|
|
|
app:layout_constraintLeft_toLeftOf="@+id/tv_nickname"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tv_nickname" />
|
|
@@ -104,12 +104,12 @@
|
|
|
android:id="@+id/tv_no_score"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:text="暂无评分"
|
|
|
android:textSize="@dimen/sp_13"
|
|
|
android:visibility="gone"
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/iv_avatar"
|
|
|
app:layout_constraintLeft_toLeftOf="@+id/tv_nickname"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/tv_nickname"
|
|
|
- android:text="暂无评分"/>
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_nickname" />
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/iv_certification_status"
|
|
@@ -120,7 +120,8 @@
|
|
|
android:visibility="gone"
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/iv_avatar"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/iv_avatar" />
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/iv_avatar"
|
|
|
+ tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
<View
|
|
@@ -139,20 +140,20 @@
|
|
|
android:src="@drawable/icon_home_certification_tip"
|
|
|
android:visibility="gone"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/certification_tip_help_view" />
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/certification_tip_help_view"
|
|
|
+ tools:visibility="visible" />
|
|
|
|
|
|
<LinearLayout
|
|
|
android:id="@+id/ll_fans"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="24dp"
|
|
|
+ android:layout_marginTop="@dimen/dp_22"
|
|
|
android:gravity="center_vertical"
|
|
|
android:orientation="horizontal"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintRight_toLeftOf="@+id/ll_course_num_completed"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/iv_avatar">
|
|
|
|
|
|
-
|
|
|
<TextView
|
|
|
android:id="@+id/tv_fans_title"
|
|
|
android:layout_width="wrap_content"
|
|
@@ -271,190 +272,117 @@
|
|
|
android:layout_marginStart="14dp"
|
|
|
android:layout_marginTop="19dp"
|
|
|
android:layout_marginEnd="14dp"
|
|
|
- app:layout_goneMarginTop="40dp"
|
|
|
android:background="@drawable/bg_white_10dp"
|
|
|
app:layout_constraintBottom_toTopOf="@+id/top_bottom_view"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/ll_fans" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/iv_mine_page"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="25dp"
|
|
|
- android:layout_marginTop="19dp"
|
|
|
- android:paddingStart="7dp"
|
|
|
- android:paddingEnd="7dp"
|
|
|
- android:paddingBottom="7dp"
|
|
|
- android:src="@drawable/icon_mine_page"
|
|
|
- app:layout_constraintHorizontal_chainStyle="spread_inside"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/view_top_bg"
|
|
|
- app:layout_constraintRight_toLeftOf="@+id/iv_mine_style"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/view_top_bg" />
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/ll_fans"
|
|
|
+ app:layout_goneMarginTop="@dimen/dp_26" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_mine_page"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="19dp"
|
|
|
+ android:drawableTop="@drawable/icon_mine_page"
|
|
|
+ android:drawablePadding="@dimen/dp_7"
|
|
|
android:includeFontPadding="false"
|
|
|
android:text="@string/mine_page_str"
|
|
|
android:textColor="@color/color_333333"
|
|
|
android:textSize="@dimen/sp_12"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/iv_mine_page"
|
|
|
- app:layout_constraintRight_toRightOf="@+id/iv_mine_page"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/iv_mine_page" />
|
|
|
-
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/iv_mine_style"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:paddingStart="7dp"
|
|
|
- android:paddingEnd="7dp"
|
|
|
- android:paddingBottom="7dp"
|
|
|
- android:src="@drawable/icon_mine_style"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/iv_mine_page"
|
|
|
- app:layout_constraintRight_toLeftOf="@+id/iv_open_live"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/iv_mine_page" />
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/view_top_bg"
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/tv_mine_style"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_top_bg" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_mine_style"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:drawableTop="@drawable/icon_mine_style"
|
|
|
+ android:drawablePadding="@dimen/dp_7"
|
|
|
android:includeFontPadding="false"
|
|
|
android:text="个人风采"
|
|
|
android:textColor="@color/color_333333"
|
|
|
android:textSize="@dimen/sp_12"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/iv_mine_style"
|
|
|
- app:layout_constraintRight_toRightOf="@+id/iv_mine_style"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/iv_mine_style" />
|
|
|
-
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/iv_open_live"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:paddingStart="7dp"
|
|
|
- android:paddingEnd="7dp"
|
|
|
- android:paddingBottom="7dp"
|
|
|
- android:src="@drawable/icon_open_live"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/iv_mine_style"
|
|
|
- app:layout_constraintRight_toLeftOf="@+id/iv_goods_order"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/iv_mine_page" />
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/tv_mine_page"
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/tv_open_live"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_mine_page" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_open_live"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:drawableTop="@drawable/icon_open_live"
|
|
|
+ android:drawablePadding="@dimen/dp_7"
|
|
|
android:includeFontPadding="false"
|
|
|
android:text="开启直播"
|
|
|
android:textColor="@color/color_333333"
|
|
|
android:textSize="@dimen/sp_12"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/iv_open_live"
|
|
|
- app:layout_constraintRight_toRightOf="@+id/iv_open_live"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/iv_open_live" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/iv_goods_order"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginEnd="25dp"
|
|
|
- android:paddingStart="7dp"
|
|
|
- android:paddingEnd="7dp"
|
|
|
- android:paddingBottom="7dp"
|
|
|
- android:src="@drawable/icon_goods_order"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/iv_open_live"
|
|
|
- app:layout_constraintRight_toRightOf="@+id/view_top_bg"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/iv_mine_page" />
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/tv_mine_style"
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/iv_goods_order"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_mine_style" />
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/tv_goods_order"
|
|
|
+ android:id="@+id/iv_goods_order"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:drawableTop="@drawable/icon_goods_order"
|
|
|
+ android:drawablePadding="@dimen/dp_7"
|
|
|
android:includeFontPadding="false"
|
|
|
android:text="商品订单"
|
|
|
android:textColor="@color/color_333333"
|
|
|
android:textSize="@dimen/sp_12"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/iv_goods_order"
|
|
|
- app:layout_constraintRight_toRightOf="@+id/iv_goods_order"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/iv_goods_order" />
|
|
|
-
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/iv_sparing_course_set"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="27dp"
|
|
|
- android:paddingStart="7dp"
|
|
|
- android:paddingEnd="7dp"
|
|
|
- android:paddingBottom="7dp"
|
|
|
- android:src="@drawable/icon_sparing_course_set"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/iv_mine_page"
|
|
|
- app:layout_constraintRight_toRightOf="@+id/iv_mine_page"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/tv_mine_page" />
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/tv_open_live"
|
|
|
+ app:layout_constraintRight_toRightOf="@+id/view_top_bg"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_mine_style" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_sparing_course_set"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/dp_27"
|
|
|
+ android:drawableTop="@drawable/icon_sparing_course_set"
|
|
|
+ android:drawablePadding="@dimen/dp_7"
|
|
|
android:includeFontPadding="false"
|
|
|
android:text="陪练课设置"
|
|
|
android:textColor="@color/color_333333"
|
|
|
android:textSize="@dimen/sp_12"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/iv_sparing_course_set"
|
|
|
- app:layout_constraintRight_toRightOf="@+id/iv_sparing_course_set"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/iv_sparing_course_set" />
|
|
|
-
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/iv_live_course"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:paddingStart="7dp"
|
|
|
- android:paddingEnd="7dp"
|
|
|
- android:paddingBottom="7dp"
|
|
|
- android:src="@drawable/icon_live_course"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/iv_mine_style"
|
|
|
- app:layout_constraintRight_toRightOf="@+id/iv_mine_style"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/iv_sparing_course_set" />
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/tv_mine_page"
|
|
|
+ app:layout_constraintRight_toRightOf="@+id/tv_mine_page"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_mine_page" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_live_course"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:drawableTop="@drawable/icon_live_course"
|
|
|
+ android:drawablePadding="@dimen/dp_7"
|
|
|
+ android:gravity="center"
|
|
|
android:includeFontPadding="false"
|
|
|
+ android:minWidth="@dimen/dp_48"
|
|
|
android:text="直播课"
|
|
|
android:textColor="@color/color_333333"
|
|
|
android:textSize="@dimen/sp_12"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/iv_live_course"
|
|
|
- app:layout_constraintRight_toRightOf="@+id/iv_live_course"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/iv_live_course" />
|
|
|
-
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/tv_mine_style"
|
|
|
+ app:layout_constraintRight_toRightOf="@+id/tv_mine_style"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_sparing_course_set" />
|
|
|
|
|
|
- <ImageView
|
|
|
- android:id="@+id/iv_video_course"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:paddingStart="7dp"
|
|
|
- android:paddingEnd="7dp"
|
|
|
- android:paddingBottom="7dp"
|
|
|
- android:src="@drawable/icon_video_course"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/iv_open_live"
|
|
|
- app:layout_constraintRight_toRightOf="@+id/iv_open_live"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/iv_sparing_course_set" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_video_course"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:drawableTop="@drawable/icon_video_course"
|
|
|
+ android:drawablePadding="@dimen/dp_7"
|
|
|
+ android:gravity="center"
|
|
|
android:includeFontPadding="false"
|
|
|
+ android:minWidth="@dimen/dp_48"
|
|
|
android:text="视频课"
|
|
|
android:textColor="@color/color_333333"
|
|
|
android:textSize="@dimen/sp_12"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/iv_video_course"
|
|
|
- app:layout_constraintRight_toRightOf="@+id/iv_video_course"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/iv_video_course" />
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/tv_open_live"
|
|
|
+ app:layout_constraintRight_toRightOf="@+id/tv_open_live"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_sparing_course_set" />
|
|
|
|
|
|
|
|
|
<View
|
|
@@ -491,9 +419,9 @@
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_music_status_tip"
|
|
|
- android:layout_marginEnd="25dp"
|
|
|
android:layout_width="39dp"
|
|
|
android:layout_height="18dp"
|
|
|
+ android:layout_marginEnd="25dp"
|
|
|
android:text="@string/un_cert_str"
|
|
|
android:textColor="@color/color_999999"
|
|
|
android:textSize="@dimen/sp_13"
|
|
@@ -542,13 +470,14 @@
|
|
|
android:visibility="visible"
|
|
|
app:layout_constraintLeft_toLeftOf="@+id/tv_equipment_testing"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tv_equipment_testing" />
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/tv_feedback"
|
|
|
style="@style/me_btn_style"
|
|
|
android:drawableLeft="@drawable/icon_mine_feedback"
|
|
|
android:text="意见反馈"
|
|
|
android:textSize="@dimen/sp_14"
|
|
|
- android:visibility="gone"
|
|
|
+ android:visibility="visible"
|
|
|
app:layout_constraintLeft_toLeftOf="@+id/tv_help"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tv_help" />
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|