| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
| | | <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:background="@color/page_bg" |
| | | xmlns:app="http://schemas.android.com/apk/res-auto" |
| | | xmlns:tools="http://schemas.android.com/tools"> |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content"> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="个人中心" |
| | | android:textSize="18sp" |
| | | android:layout_gravity="center" |
| | | android:paddingVertical="12dp" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | android:textStyle="bold" |
| | | android:id="@+id/tv_title" |
| | | android:textColor="@color/textColor" |
| | | android:layout_marginTop="30dp"/> |
| | | android:layout_height="0dp" |
| | | android:background="@mipmap/bg_mine" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | app:layout_constraintDimensionRatio="39:49"/> |
| | | <ScrollView |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent"> |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_title" |
| | | android:layout_marginTop="18dp" |
| | | android:background="@drawable/bg_white_top_20dp"> |
| | | android:layout_height="wrap_content"> |
| | | |
| | | <com.facebook.drawee.view.SimpleDraweeView |
| | | android:layout_width="65dp" |
| | | android:layout_height="65dp" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | android:layout_marginStart="14dp" |
| | | android:layout_marginTop="80dp" |
| | | app:placeholderImage="@color/page_bg" |
| | | app:roundAsCircle="true" |
| | | app:actualImageScaleType="centerCrop" |
| | | android:id="@+id/iv_avatar"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/tv_name" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | android:layout_marginStart="100dp" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | android:layout_marginTop="5dp" |
| | | app:layout_constraintStart_toEndOf="@id/iv_avatar" |
| | | android:layout_marginStart="11dp" |
| | | app:layout_constraintTop_toTopOf="@id/iv_avatar" |
| | | android:layout_marginTop="10dp" |
| | | android:textColor="@color/textColor" |
| | | android:textSize="18sp" |
| | | android:textSize="17sp" |
| | | android:textStyle="bold" |
| | | tools:text="可乐"/> |
| | | <ImageView |
| | | android:id="@+id/iv_level" |
| | | android:layout_width="18dp" |
| | | android:layout_height="18dp" |
| | | app:layout_constraintTop_toTopOf="@id/tv_name" |
| | | app:layout_constraintBottom_toBottomOf="@id/tv_name" |
| | | app:layout_constraintStart_toEndOf="@id/tv_name" |
| | | android:layout_marginStart="6dp" |
| | | android:src="@mipmap/xinren"/> |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/tv_invite_code" |
| | | android:id="@+id/tv_phone" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_name" |
| | | app:layout_constraintStart_toStartOf="@id/tv_name" |
| | | android:text="邀请码:" |
| | | tools:text="139****9012" |
| | | android:textSize="14sp" |
| | | android:textColor="@color/textColor99"/> |
| | | <View |
| | | android:layout_width="0dp" |
| | | android:layout_height="0dp" |
| | | android:id="@+id/holder_info" |
| | | app:layout_constraintStart_toStartOf="@id/iv_avatar" |
| | | app:layout_constraintBottom_toBottomOf="@id/iv_avatar" |
| | | app:layout_constraintTop_toTopOf="@id/iv_avatar" |
| | | app:layout_constraintEnd_toEndOf="@id/tv_phone"/> |
| | | <ImageView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/iv_setting" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintTop_toTopOf="@id/iv_avatar" |
| | | android:padding="10dp" |
| | | android:src="@mipmap/setting_mine" |
| | | android:layout_marginEnd="10dp"/> |
| | | <ImageView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/iv_msg" |
| | | app:layout_constraintEnd_toStartOf="@id/iv_setting" |
| | | app:layout_constraintTop_toTopOf="@id/iv_avatar" |
| | | android:padding="10dp" |
| | | android:src="@mipmap/ic_msg" |
| | | android:layout_marginEnd="4dp"/> |
| | | <View |
| | | android:layout_width="6dp" |
| | | android:layout_height="6dp" |
| | | android:id="@+id/iv_unread" |
| | | app:layout_constraintEnd_toEndOf="@id/iv_msg" |
| | | app:layout_constraintTop_toTopOf="@id/iv_msg" |
| | | android:layout_margin="8dp" |
| | | android:background="@drawable/bg_red_4dp"/> |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:layout_height="0dp" |
| | | android:id="@+id/bg_vip" |
| | | app:layout_constraintTop_toBottomOf="@id/iv_avatar" |
| | | app:layout_constraintDimensionRatio="364:113" |
| | | android:background="@mipmap/no_vip" |
| | | android:layout_marginHorizontal="13dp" |
| | | android:layout_marginTop="25dp"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/tv_center" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintTop_toTopOf="@id/tv_name" |
| | | android:layout_marginTop="14dp" |
| | | android:text="个人中心" |
| | | android:textColor="@color/white" |
| | | android:textSize="12sp" |
| | | android:text="心泉·疗愈会员" |
| | | app:layout_constraintTop_toTopOf="@id/bg_vip" |
| | | app:layout_constraintStart_toStartOf="@id/bg_vip" |
| | | android:layout_marginStart="19dp" |
| | | android:layout_marginTop="23dp" |
| | | android:textColor="@color/darkGreen" |
| | | android:textSize="22sp" |
| | | android:textStyle="bold"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="升级为高级会员,解锁全部体验" |
| | | app:layout_constraintBottom_toBottomOf="@id/bg_vip" |
| | | app:layout_constraintStart_toStartOf="@id/bg_vip" |
| | | android:layout_marginStart="19dp" |
| | | android:layout_marginBottom="17dp" |
| | | android:textColor="@color/darkGreen" |
| | | android:textSize="10sp"/> |
| | | <TextView |
| | | android:id="@+id/tv_vip" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="你还未开通会员服务" |
| | | app:layout_constraintBottom_toBottomOf="@id/bg_vip" |
| | | app:layout_constraintEnd_toEndOf="@id/bg_vip" |
| | | android:layout_margin="18dp" |
| | | android:textColor="@color/darkGreen" |
| | | android:textSize="8sp"/> |
| | | <TextView |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/tv_rank" |
| | | app:layout_constraintTop_toBottomOf="@id/bg_vip" |
| | | android:layout_marginTop="15dp" |
| | | android:layout_marginHorizontal="13dp" |
| | | android:text="爱心榜单" |
| | | android:textStyle="bold" |
| | | android:paddingVertical="5dp" |
| | | android:paddingHorizontal="12dp" |
| | | android:background="@drawable/bg_green_left_13"/> |
| | | android:textSize="18sp" |
| | | android:textColor="@color/textColor" |
| | | android:drawableEnd="@mipmap/ic_rank" |
| | | android:padding="24dp" |
| | | android:background="@drawable/bg_gradient_vertical"/> |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:id="@+id/cl_info" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:background="@drawable/bg_white_10dp" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_invite_code" |
| | | android:layout_marginTop="22dp" |
| | | android:layout_marginHorizontal="14dp" |
| | | android:elevation="2dp"> |
| | | android:id="@+id/cl_record" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_rank" |
| | | android:layout_marginTop="15dp" |
| | | android:layout_marginHorizontal="13dp" |
| | | android:textStyle="bold" |
| | | android:textSize="18sp" |
| | | android:textColor="@color/textColor" |
| | | android:drawableEnd="@mipmap/ic_rank" |
| | | android:padding="24dp" |
| | | android:background="@drawable/bg_gradient_vertical"> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:id="@+id/tv_more_record" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/tv_1" |
| | | android:text="疗愈学习记录" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | android:layout_marginTop="12dp" |
| | | android:text="体重" |
| | | android:textSize="12sp" |
| | | android:textColor="@color/textColor" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/tv_weight" |
| | | android:textSize="18sp" |
| | | android:drawableEnd="@mipmap/mine_more"/> |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:layout_width="228dp" |
| | | android:layout_height="171dp" |
| | | android:id="@+id/cl_total" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_more_record" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_1" |
| | | android:text="0" |
| | | android:textSize="22sp" |
| | | android:textStyle="bold" |
| | | android:textColor="@color/textColor" |
| | | android:layout_marginTop="2dp"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/tv_unit" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_weight" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | android:layout_marginBottom="10dp" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | android:text="斤" |
| | | android:textSize="12sp"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/tv_height" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintEnd_toStartOf="@id/tv_weight" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_1" |
| | | android:text="0" |
| | | android:textSize="22sp" |
| | | android:textStyle="bold" |
| | | android:textColor="@color/textColor" |
| | | android:layout_marginTop="2dp"/> |
| | | android:background="@mipmap/lianhua" |
| | | android:layout_marginTop="40dp"> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/tv_day" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | android:layout_marginEnd="10dp" |
| | | android:text="0" |
| | | android:textSize="55sp" |
| | | android:textColor="@color/textColor" |
| | | android:layout_marginBottom="20dp"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/tv_day" |
| | | android:text="天" |
| | | app:layout_constraintStart_toEndOf="@id/tv_day" |
| | | android:textSize="16sp" |
| | | android:textColor="@color/textColor"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | app:layout_constraintBottom_toTopOf="@id/tv_day" |
| | | android:text="累积练习天数" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | android:textSize="16sp" |
| | | android:textColor="@color/textColor"/> |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | android:layout_marginTop="12dp" |
| | | android:text="身高" |
| | | android:textSize="12sp" |
| | | android:textColor="@color/textColor" |
| | | app:layout_constraintStart_toStartOf="@id/tv_height" |
| | | app:layout_constraintEnd_toEndOf="@id/tv_height"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:id="@+id/cl_data" |
| | | android:background="@drawable/bg_white_10dp" |
| | | android:layout_marginHorizontal="21dp" |
| | | app:layout_constraintTop_toBottomOf="@id/cl_total" |
| | | android:layout_marginTop="60dp"> |
| | | <View |
| | | android:id="@+id/center" |
| | | android:layout_width="1dp" |
| | | android:layout_height="31dp" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | android:background="@color/page_bg" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintEnd_toStartOf="@id/center" |
| | | android:layout_marginTop="15dp" |
| | | android:textSize="13sp" |
| | | android:text="连续练习天数" |
| | | android:id="@+id/tv_3" |
| | | android:drawablePadding="6dp" |
| | | android:drawableStart="@drawable/green_dot"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/tv_continue" |
| | | android:text="0" |
| | | app:layout_constraintStart_toStartOf="@id/tv_3" |
| | | app:layout_constraintEnd_toEndOf="@id/tv_3" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_3" |
| | | android:layout_marginTop="8dp" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | android:layout_marginBottom="25dp" |
| | | android:textSize="23sp" |
| | | android:textColor="@color/textColor"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="天" |
| | | app:layout_constraintStart_toEndOf="@id/tv_continue" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/tv_continue" |
| | | android:textSize="11sp" |
| | | android:textColor="@color/textColor"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toEndOf="@id/center" |
| | | android:layout_marginTop="15dp" |
| | | android:textSize="13sp" |
| | | android:text="今日练习时长" |
| | | android:drawablePadding="6dp" |
| | | android:drawableStart="@drawable/green_dot_2"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/tv_today" |
| | | android:text="0" |
| | | app:layout_constraintStart_toEndOf="@id/center" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/tv_continue" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | android:layout_marginBottom="25dp" |
| | | android:textSize="23sp" |
| | | android:textColor="@color/textColor"/> |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/tv_unit" |
| | | app:layout_constraintStart_toStartOf="@id/tv_height" |
| | | app:layout_constraintEnd_toEndOf="@id/tv_height" |
| | | android:text="cm" |
| | | android:textSize="12sp"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/tv_bmi" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toEndOf="@id/tv_weight" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_1" |
| | | android:text="0" |
| | | android:textSize="22sp" |
| | | android:textStyle="bold" |
| | | android:textColor="@color/textColor" |
| | | android:layout_marginTop="2dp"/> |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | android:layout_marginTop="12dp" |
| | | android:text="BMI" |
| | | android:textSize="12sp" |
| | | android:textColor="@color/textColor" |
| | | app:layout_constraintStart_toStartOf="@id/tv_bmi" |
| | | app:layout_constraintEnd_toEndOf="@id/tv_bmi"/> |
| | | <TextView |
| | | android:id="@+id/tv_fat_state" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/tv_unit" |
| | | app:layout_constraintStart_toStartOf="@id/tv_bmi" |
| | | app:layout_constraintEnd_toEndOf="@id/tv_bmi" |
| | | android:text="" |
| | | android:textSize="12sp"/> |
| | | android:id="@+id/tv_level" |
| | | android:layout_marginHorizontal="21dp" |
| | | android:layout_marginTop="15dp" |
| | | android:paddingHorizontal="5dp" |
| | | app:layout_constraintTop_toBottomOf="@id/cl_data" |
| | | android:background="@drawable/bg_level"> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="疗愈等级" |
| | | android:textSize="14sp" |
| | | android:textColor="@color/textColor" |
| | | android:paddingVertical="18dp" |
| | | android:id="@+id/tv_4"/> |
| | | <ImageView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center_vertical" |
| | | android:id="@+id/iv_vip" |
| | | android:layout_marginStart="10dp" |
| | | android:src="@mipmap/vip_1"/> |
| | | <TextView |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center_vertical" |
| | | android:text="查看详情" |
| | | android:gravity="end" |
| | | android:drawablePadding="6dp" |
| | | android:textSize="11sp" |
| | | android:drawableEnd="@mipmap/icon_more_grey"/> |
| | | </LinearLayout> |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | <androidx.recyclerview.widget.RecyclerView |
| | | |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:layout_width="match_parent" |
| | | android:id="@+id/cl_menu" |
| | | android:layout_height="wrap_content" |
| | | android:background="@drawable/bg_white_10dp" |
| | | android:id="@+id/rv_menu" |
| | | android:paddingBottom="18dp" |
| | | app:layout_constraintTop_toBottomOf="@id/cl_info" |
| | | android:layout_marginTop="16dp" |
| | | android:layout_marginHorizontal="14dp" |
| | | android:elevation="2dp"/> |
| | | <LinearLayout |
| | | android:id="@+id/ll_menu" |
| | | app:layout_constraintTop_toBottomOf="@id/cl_record" |
| | | android:layout_marginTop="15dp" |
| | | android:background="@drawable/bg_gradient_vertical" |
| | | android:layout_marginHorizontal="12dp"> |
| | | <TextView |
| | | android:id="@+id/tv_5" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="常用功能" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | android:layout_margin="25dp" |
| | | android:textSize="18sp" |
| | | android:textColor="@color/textColor"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/tv_study_record" |
| | | android:text="学习记录" |
| | | android:textColor="@color/textColor" |
| | | android:textSize="13sp" |
| | | android:gravity="center" |
| | | android:layout_marginTop="40dp" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | android:layout_marginBottom="40dp" |
| | | android:drawablePadding="23dp" |
| | | app:layout_constraintEnd_toStartOf="@id/tv_account" |
| | | android:drawableTop="@mipmap/study_record" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_5"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/tv_account" |
| | | android:text="我的账户" |
| | | android:textColor="@color/textColor" |
| | | android:textSize="13sp" |
| | | android:gravity="center" |
| | | android:drawablePadding="23dp" |
| | | android:drawableTop="@mipmap/account" |
| | | app:layout_constraintStart_toEndOf="@id/tv_study_record" |
| | | app:layout_constraintEnd_toStartOf="@id/tv_watch_his" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/tv_study_record"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/tv_watch_his" |
| | | android:text="观看历史" |
| | | android:textColor="@color/textColor" |
| | | android:textSize="13sp" |
| | | android:gravity="center" |
| | | android:drawablePadding="23dp" |
| | | android:drawableTop="@mipmap/watch_his" |
| | | app:layout_constraintStart_toEndOf="@id/tv_account" |
| | | app:layout_constraintEnd_toStartOf="@id/tv_collect" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/tv_study_record"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/tv_collect" |
| | | android:text="我的收藏" |
| | | android:textColor="@color/textColor" |
| | | android:textSize="13sp" |
| | | android:gravity="center" |
| | | android:drawablePadding="23dp" |
| | | android:drawableTop="@mipmap/my_collected" |
| | | app:layout_constraintStart_toEndOf="@id/tv_watch_his" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/tv_study_record"/> |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:layout_width="match_parent" |
| | | android:id="@+id/cl_menu2" |
| | | android:layout_height="wrap_content" |
| | | android:background="@drawable/bg_white_10dp" |
| | | app:layout_constraintTop_toBottomOf="@id/rv_menu" |
| | | android:layout_marginTop="16dp" |
| | | android:layout_marginHorizontal="14dp" |
| | | android:elevation="2dp" |
| | | android:orientation="vertical"> |
| | | <TextView |
| | | android:id="@+id/tv_feed" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | style="@style/style_form_text" |
| | | android:text="反馈与建议" |
| | | android:paddingHorizontal="12dp" |
| | | android:drawableEnd="@mipmap/icon_more_grey"/> |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:layout_height="1px" |
| | | android:background="@color/dividing_line_color"/> |
| | | <TextView |
| | | android:id="@+id/tv_about" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | style="@style/style_form_text" |
| | | android:text="关于我们" |
| | | android:paddingHorizontal="12dp" |
| | | android:drawableEnd="@mipmap/icon_more_grey"/> |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:layout_height="1px" |
| | | android:background="@color/dividing_line_color"/> |
| | | <TextView |
| | | android:id="@+id/tv_contact" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | style="@style/style_form_text" |
| | | android:text="联系我们" |
| | | android:paddingHorizontal="12dp" |
| | | android:drawableEnd="@mipmap/icon_more_grey"/> |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:layout_height="1px" |
| | | android:background="@color/dividing_line_color"/> |
| | | <TextView |
| | | android:id="@+id/tv_guide" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | style="@style/style_form_text" |
| | | android:text="使用指南" |
| | | android:paddingHorizontal="12dp" |
| | | android:drawableEnd="@mipmap/icon_more_grey"/> |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:layout_height="1px" |
| | | android:background="@color/dividing_line_color"/> |
| | | <TextView |
| | | android:id="@+id/tv_privacy_rule" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | style="@style/style_form_text" |
| | | android:text="隐私协议" |
| | | android:paddingHorizontal="12dp" |
| | | android:drawableEnd="@mipmap/icon_more_grey"/> |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:layout_height="1px" |
| | | android:background="@color/dividing_line_color"/> |
| | | <TextView |
| | | android:id="@+id/tv_user_rule" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | style="@style/style_form_text" |
| | | android:text="用户协议" |
| | | android:paddingHorizontal="12dp" |
| | | android:drawableEnd="@mipmap/icon_more_grey"/> |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:layout_height="1px" |
| | | android:background="@color/dividing_line_color"/> |
| | | <TextView |
| | | android:id="@+id/tv_set_unit" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | style="@style/style_form_text" |
| | | android:text="APP体重单位" |
| | | android:paddingHorizontal="12dp" |
| | | android:drawableEnd="@mipmap/icon_more_grey"/> |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:layout_height="1px" |
| | | android:background="@color/dividing_line_color"/> |
| | | <TextView |
| | | android:id="@+id/tv_address" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | style="@style/style_form_text" |
| | | android:text="地址管理" |
| | | android:paddingHorizontal="12dp" |
| | | android:drawableEnd="@mipmap/icon_more_grey"/> |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:layout_height="1px" |
| | | android:background="@color/dividing_line_color"/> |
| | | <TextView |
| | | android:id="@+id/tv_setting" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | style="@style/style_form_text" |
| | | android:text="设置" |
| | | android:paddingHorizontal="12dp" |
| | | android:drawableEnd="@mipmap/icon_more_grey"/> |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:layout_height="1px" |
| | | android:background="@color/dividing_line_color"/> |
| | | </LinearLayout> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/tv_logout" |
| | | app:layout_constraintTop_toBottomOf="@id/ll_menu" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | android:text="退出登录" |
| | | android:textSize="12sp" |
| | | app:layout_constraintTop_toBottomOf="@id/cl_menu" |
| | | android:layout_marginTop="15dp" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | android:layout_marginBottom="14dp" |
| | | android:textColor="@color/textColor99" |
| | | android:paddingHorizontal="28dp" |
| | | android:paddingVertical="10dp" |
| | | android:background="@drawable/bg_grey_line_8dp"/> |
| | | android:layout_marginBottom="20dp" |
| | | android:background="@drawable/bg_gradient_vertical" |
| | | android:layout_marginHorizontal="12dp"> |
| | | <TextView |
| | | android:id="@+id/tv_6" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="其他功能" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | android:layout_margin="25dp" |
| | | android:textSize="18sp" |
| | | android:textColor="@color/textColor"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/tv_has_buy" |
| | | android:text="我的已购" |
| | | android:textColor="@color/textColor" |
| | | android:textSize="13sp" |
| | | android:gravity="center" |
| | | android:layout_marginTop="40dp" |
| | | android:drawablePadding="23dp" |
| | | app:layout_constraintEnd_toStartOf="@id/tv_service" |
| | | android:drawableTop="@mipmap/has_buy" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | android:layout_marginBottom="40dp" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_6"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/tv_service" |
| | | android:text="联系客服" |
| | | android:textColor="@color/textColor" |
| | | android:textSize="13sp" |
| | | android:gravity="center" |
| | | android:drawablePadding="23dp" |
| | | android:drawableTop="@mipmap/service" |
| | | app:layout_constraintStart_toEndOf="@id/tv_has_buy" |
| | | app:layout_constraintEnd_toStartOf="@id/tv_setting" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/tv_has_buy"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/tv_setting" |
| | | android:text="设置" |
| | | android:textColor="@color/textColor" |
| | | android:textSize="13sp" |
| | | android:gravity="center" |
| | | android:drawablePadding="23dp" |
| | | android:drawableTop="@mipmap/setting" |
| | | app:layout_constraintStart_toEndOf="@id/tv_service" |
| | | app:layout_constraintEnd_toStartOf="@id/tv_share" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/tv_has_buy"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/tv_share" |
| | | android:text="分享赚钱" |
| | | android:textColor="@color/textColor" |
| | | android:textSize="13sp" |
| | | android:gravity="center" |
| | | android:drawablePadding="23dp" |
| | | android:drawableTop="@mipmap/share" |
| | | app:layout_constraintStart_toEndOf="@id/tv_setting" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/tv_has_buy"/> |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | <com.facebook.drawee.view.SimpleDraweeView |
| | | android:layout_width="76dp" |
| | | android:layout_height="76dp" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_title" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | android:layout_marginStart="16dp" |
| | | app:placeholderImage="@color/page_bg" |
| | | app:roundAsCircle="true" |
| | | app:actualImageScaleType="centerCrop" |
| | | android:id="@+id/iv_avatar" |
| | | app:roundingBorderColor="@color/colorPrimary" |
| | | app:roundingBorderWidth="1dp"/> |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | |
| | | </androidx.core.widget.NestedScrollView> |
| | | </ScrollView> |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |