218 lines
8.6 KiB
XML
218 lines
8.6 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:background="@color/color_f5f5f5">
|
||
|
|
||
|
<com.tairui.industrial_operation.widget.statusbar.StatusBarHeightView
|
||
|
android:id="@+id/statusbar"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
||
|
|
||
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
android:id="@+id/toolbar"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="?attr/actionBarSize"
|
||
|
app:layout_constraintTop_toBottomOf="@id/statusbar">
|
||
|
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/btnBack"
|
||
|
android:layout_width="32dp"
|
||
|
android:layout_height="32dp"
|
||
|
android:layout_marginLeft="16dp"
|
||
|
android:padding="4dp"
|
||
|
android:src="@mipmap/ic_back_black"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintLeft_toLeftOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/title"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginLeft="12dp"
|
||
|
android:text="设置"
|
||
|
android:textColor="@color/color_txt_black"
|
||
|
android:textSize="20sp"
|
||
|
android:textStyle="bold"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintLeft_toLeftOf="parent"
|
||
|
app:layout_constraintRight_toRightOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
||
|
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="0dp"
|
||
|
android:orientation="vertical"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintTop_toBottomOf="@id/toolbar">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="48dp"
|
||
|
android:layout_marginLeft="16dp"
|
||
|
android:layout_marginTop="12dp"
|
||
|
android:layout_marginRight="16dp"
|
||
|
android:background="@drawable/bg_container_white_raduis_10"
|
||
|
android:drawableLeft="@mipmap/ic_setting_1"
|
||
|
android:drawableRight="@mipmap/ic_arrow_right_gray"
|
||
|
android:drawablePadding="8dp"
|
||
|
android:gravity="center_vertical"
|
||
|
android:paddingLeft="12dp"
|
||
|
android:paddingRight="12dp"
|
||
|
android:text="编辑资料"
|
||
|
android:textColor="@color/color_txt_black"
|
||
|
android:textSize="14sp" />
|
||
|
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginLeft="16dp"
|
||
|
android:layout_marginTop="12dp"
|
||
|
android:layout_marginRight="16dp"
|
||
|
android:background="@drawable/bg_container_white_raduis_10"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="48dp"
|
||
|
android:drawableLeft="@mipmap/ic_setting_2"
|
||
|
android:drawableRight="@mipmap/ic_arrow_right_gray"
|
||
|
android:drawablePadding="8dp"
|
||
|
android:gravity="center_vertical"
|
||
|
android:paddingLeft="12dp"
|
||
|
android:paddingRight="12dp"
|
||
|
android:text="账户与安全"
|
||
|
android:textColor="@color/color_txt_black"
|
||
|
android:textSize="14sp" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="48dp"
|
||
|
android:drawableLeft="@mipmap/ic_setting_3"
|
||
|
android:drawableRight="@mipmap/ic_arrow_right_gray"
|
||
|
android:drawablePadding="8dp"
|
||
|
android:gravity="center_vertical"
|
||
|
android:paddingLeft="12dp"
|
||
|
android:paddingRight="12dp"
|
||
|
android:text="隐私设置"
|
||
|
android:textColor="@color/color_txt_black"
|
||
|
android:textSize="14sp" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginLeft="16dp"
|
||
|
android:layout_marginTop="12dp"
|
||
|
android:layout_marginRight="16dp"
|
||
|
android:background="@drawable/bg_container_white_raduis_10"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="48dp"
|
||
|
android:drawableLeft="@mipmap/ic_setting_4"
|
||
|
android:drawableRight="@mipmap/ic_arrow_right_gray"
|
||
|
android:drawablePadding="8dp"
|
||
|
android:gravity="center_vertical"
|
||
|
android:paddingLeft="12dp"
|
||
|
android:paddingRight="12dp"
|
||
|
android:text="通知设置"
|
||
|
android:textColor="@color/color_txt_black"
|
||
|
android:textSize="14sp" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="48dp"
|
||
|
android:drawableLeft="@mipmap/ic_setting_5"
|
||
|
android:drawableRight="@mipmap/ic_arrow_right_gray"
|
||
|
android:drawablePadding="8dp"
|
||
|
android:gravity="center_vertical"
|
||
|
android:paddingLeft="12dp"
|
||
|
android:paddingRight="12dp"
|
||
|
android:text="通用设置"
|
||
|
android:textColor="@color/color_txt_black"
|
||
|
android:textSize="14sp" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginLeft="16dp"
|
||
|
android:layout_marginTop="12dp"
|
||
|
android:layout_marginRight="16dp"
|
||
|
android:background="@drawable/bg_container_white_raduis_10"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="48dp"
|
||
|
android:drawableLeft="@mipmap/ic_setting_6"
|
||
|
android:drawableRight="@mipmap/ic_arrow_right_gray"
|
||
|
android:drawablePadding="8dp"
|
||
|
android:gravity="center_vertical"
|
||
|
android:paddingLeft="12dp"
|
||
|
android:paddingRight="12dp"
|
||
|
android:text="个人信息收集清单"
|
||
|
android:textColor="@color/color_txt_black"
|
||
|
android:textSize="14sp" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="48dp"
|
||
|
android:drawableLeft="@mipmap/ic_setting_7"
|
||
|
android:drawableRight="@mipmap/ic_arrow_right_gray"
|
||
|
android:drawablePadding="8dp"
|
||
|
android:gravity="center_vertical"
|
||
|
android:paddingLeft="12dp"
|
||
|
android:paddingRight="12dp"
|
||
|
android:text="服务协议"
|
||
|
android:textColor="@color/color_txt_black"
|
||
|
android:textSize="14sp" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="48dp"
|
||
|
android:drawableLeft="@mipmap/ic_setting_8"
|
||
|
android:drawableRight="@mipmap/ic_arrow_right_gray"
|
||
|
android:drawablePadding="8dp"
|
||
|
android:gravity="center_vertical"
|
||
|
android:paddingLeft="12dp"
|
||
|
android:paddingRight="12dp"
|
||
|
android:text="关于我们"
|
||
|
android:textColor="@color/color_txt_black"
|
||
|
android:textSize="14sp" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/btnLogout"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="56dp"
|
||
|
android:layout_marginLeft="16dp"
|
||
|
android:layout_marginRight="16dp"
|
||
|
android:layout_marginBottom="28dp"
|
||
|
android:background="@drawable/bg_container_white_raduis_30"
|
||
|
android:gravity="center"
|
||
|
android:text="退出登录"
|
||
|
android:textColor="@color/color_txt_black"
|
||
|
android:textSize="18sp"
|
||
|
android:textStyle="bold"
|
||
|
app:layout_constraintBottom_toBottomOf="parent" />
|
||
|
|
||
|
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|