<?xml version="1.0" encoding="utf-8"?>
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
android:background="#FAFAFA">
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="设置"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
android:textColor="@color/textColor"
|
android:textSize="16sp"
|
android:textStyle="bold"
|
android:id="@+id/tv_title"
|
android:layout_marginTop="44dp"/>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:src="@mipmap/back"
|
android:padding="10dp"
|
app:layout_constraintStart_toStartOf="parent"
|
android:layout_marginStart="4dp"
|
app:layout_constraintTop_toTopOf="@id/tv_title"
|
app:layout_constraintBottom_toBottomOf="@id/tv_title"
|
android:id="@+id/iv_back"/>
|
<LinearLayout
|
android:id="@+id/ll"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical"
|
app:layout_constraintTop_toBottomOf="@id/tv_title"
|
android:layout_marginTop="25dp"
|
android:layout_marginStart="7dp"
|
android:layout_marginEnd="4dp"
|
android:background="@drawable/bg_white_15dp">
|
<TextView
|
android:id="@+id/tv_bind"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
style="@style/style_form_text"
|
android:text="账号绑定"
|
android:paddingHorizontal="12dp"
|
android:drawableEnd="@mipmap/more_black"/>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1px"
|
android:background="@color/dividing_line_color"/>
|
<TextView
|
android:id="@+id/tv_clear"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
style="@style/style_form_text"
|
android:text="清理缓存"
|
android:paddingHorizontal="12dp"
|
android:drawableEnd="@mipmap/more_black"/>
|
<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/more_black"/>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1px"
|
android:background="@color/dividing_line_color"/>
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<TextView
|
android:id="@+id/tv_update"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
style="@style/style_form_text"
|
android:text="版本更新"
|
android:textSize="10sp"
|
android:paddingHorizontal="12dp"
|
android:drawableEnd="@mipmap/more_black"/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:layout_alignParentEnd="true"
|
android:layout_marginEnd="40dp"
|
android:textSize="10sp"
|
android:textColor="#21A2B5"
|
android:paddingVertical="3dp"
|
android:visibility="gone"
|
android:paddingHorizontal="8dp"
|
android:background="@drawable/bg_new_virsion"
|
android:text="新版本"
|
android:elevation="2dp"
|
android:id="@+id/tv_new"/>
|
</RelativeLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1px"
|
android:background="@color/dividing_line_color"/>
|
<TextView
|
android:id="@+id/tv_unregister"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
style="@style/style_form_text"
|
android:text="注销账号"
|
android:paddingHorizontal="12dp"
|
android:drawableEnd="@mipmap/more_black"/>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1px"
|
android:background="@color/dividing_line_color"/>
|
<androidx.constraintlayout.widget.ConstraintLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<TextView
|
android:id="@+id/tv_push"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
style="@style/style_form_text"
|
android:text="个性化推荐"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
android:paddingHorizontal="12dp"/>
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
app:layout_constraintTop_toBottomOf="@id/tv_push"
|
android:text="关闭后,将不会给您提供个性化推荐服务,你可能会看到不感兴趣的内容"
|
android:layout_marginHorizontal="14dp"
|
android:textSize="12sp"
|
android:textColor="@color/textColor66"/>
|
<ImageView
|
android:id="@+id/iv_push"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintBottom_toBottomOf="@id/tv_push"
|
android:src="@mipmap/sw_on"
|
android:layout_marginEnd="6dp"
|
app:layout_constraintEnd_toEndOf="parent"/>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1px"
|
android:layout_marginTop="12dp"
|
android:background="@color/dividing_line_color"/>
|
<TextView
|
android:id="@+id/tv_rule"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
style="@style/style_form_text"
|
android:text="协议政策"
|
android:paddingHorizontal="12dp"
|
android:drawableEnd="@mipmap/more_black"/>
|
</LinearLayout>
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="49dp"
|
app:layout_constraintTop_toBottomOf="@id/ll"
|
android:layout_marginTop="9dp"
|
android:text="切换账号"
|
android:id="@+id/tv_switch"
|
android:textColor="@color/textColor"
|
android:textSize="17sp"
|
android:gravity="center"
|
android:background="@color/white"/>
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="49dp"
|
app:layout_constraintTop_toBottomOf="@id/tv_switch"
|
android:layout_marginTop="9dp"
|
android:text="退出登录"
|
android:id="@+id/tv_logout"
|
android:textColor="@color/textColor"
|
android:textSize="17sp"
|
android:gravity="center"
|
android:background="@color/white"/>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|