<?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/colorContent"
    tools:context=".ui.my.MyFragment">


    <ScrollView
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:overScrollMode="never"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent">

        <androidx.constraintlayout.widget.ConstraintLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content">


            <androidx.constraintlayout.widget.ConstraintLayout
                android:id="@+id/constraintLayout"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:background="@drawable/detail_info"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toTopOf="parent"
                tools:ignore="MissingConstraints">

                <de.hdodenhof.circleimageview.CircleImageView
                    android:id="@+id/myUserHead"
                    android:layout_width="80dp"
                    android:layout_height="80dp"
                    android:layout_marginStart="16dp"
                    android:layout_marginTop="24dp"
                    android:layout_marginBottom="24dp"
                    android:src="@drawable/jd"
                    app:layout_constraintBottom_toBottomOf="parent"
                    app:layout_constraintStart_toStartOf="parent"
                    app:layout_constraintTop_toTopOf="parent" />

                <TextView
                    android:id="@+id/myUserNickName"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginStart="17dp"
                    android:layout_marginTop="24dp"
                    android:text="未登录"
                    android:textSize="22sp"
                    app:layout_constraintStart_toEndOf="@+id/myUserHead"
                    app:layout_constraintTop_toTopOf="parent" />

                <TextView
                    android:id="@+id/myUserName"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginStart="17dp"
                    android:layout_marginTop="8dp"
                    android:text=""
                    android:textSize="18sp"
                    app:layout_constraintStart_toEndOf="@+id/myUserHead"
                    app:layout_constraintTop_toBottomOf="@+id/myUserNickName" />


            </androidx.constraintlayout.widget.ConstraintLayout>

            <LinearLayout
                android:id="@+id/linearLayout"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_marginTop="16dp"
                android:background="@drawable/radius_content"
                android:orientation="horizontal"
                android:padding="10sp"
                android:weightSum="4"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toBottomOf="@+id/constraintLayout">

                <LinearLayout
                    android:id="@+id/myOrderView"
                    android:layout_width="0dp"
                    android:layout_height="match_parent"
                    android:layout_weight="1"
                    android:orientation="vertical">

                    <ImageView
                        android:layout_width="match_parent"
                        android:layout_height="55dp"
                        android:padding="8dp"
                        android:src="@drawable/ic_baseline_assignment_24dp" />

                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:gravity="center_horizontal"
                        android:text="我的订单" />

                </LinearLayout>

                <LinearLayout
                    android:layout_width="0dp"
                    android:layout_height="match_parent"
                    android:layout_weight="1"
                    android:orientation="vertical">

                    <ImageView
                        android:layout_width="match_parent"
                        android:layout_height="55dp"
                        android:padding="8dp"
                        android:src="@drawable/ic_sharp_monetization_on_24dp" />

                    <TextView
                        android:id="@+id/textView4"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:gravity="center_horizontal"
                        android:text="待付款" />

                </LinearLayout>

                <LinearLayout
                    android:layout_width="0dp"
                    android:layout_height="match_parent"
                    android:layout_weight="1"
                    android:orientation="vertical">

                    <ImageView
                        android:layout_width="match_parent"
                        android:layout_height="55dp"
                        android:padding="8dp"
                        android:src="@drawable/ic_baseline_question_answer_24dp" />

                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:gravity="center_horizontal"
                        android:text="待评价" />

                </LinearLayout>

                <LinearLayout
                    android:layout_width="0dp"
                    android:layout_height="match_parent"
                    android:layout_weight="1"
                    android:orientation="vertical">

                    <ImageView
                        android:layout_width="match_parent"
                        android:layout_height="55dp"
                        android:padding="8dp"
                        android:src="@drawable/ic_baseline_report_24dp" />

                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:gravity="center_horizontal"
                        android:text="退款" />

                </LinearLayout>
            </LinearLayout>

            <LinearLayout
                android:id="@+id/linearLayout2"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_marginStart="1dp"
                android:layout_marginTop="16dp"
                android:background="@drawable/radius_content"
                android:orientation="vertical"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toBottomOf="@+id/linearLayout">

                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="45dp"
                    android:gravity="center_vertical"
                    android:paddingStart="16dp"
                    android:text="支付设置"
                    android:textSize="18sp"
                    tools:ignore="RtlSymmetry" />

                <View
                    android:layout_width="match_parent"
                    android:layout_height="1dp"
                    android:background="#EEEEEE" />

                <TextView
                    android:id="@+id/myModifyText"
                    android:layout_width="match_parent"
                    android:layout_height="45dp"
                    android:gravity="center_vertical"
                    android:paddingStart="16dp"
                    android:text="修改地址"
                    android:textSize="18sp"
                    tools:ignore="RtlSymmetry" />

                <LinearLayout
                    android:id="@+id/myModifyView"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:background="#1A409EFF"
                    android:orientation="vertical"
                    android:visibility="gone">

                    <EditText
                        android:id="@+id/editTextTextPersonName2"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_marginLeft="32sp"
                        android:layout_marginTop="22sp"
                        android:layout_marginRight="32sp"
                        android:layout_marginBottom="12sp"
                        android:ems="10"
                        android:hint="请输入新的手机号码"
                        android:inputType="textPersonName" />

                    <EditText
                        android:id="@+id/editTextTextPersonName3"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_marginLeft="32sp"
                        android:layout_marginTop="12sp"
                        android:layout_marginRight="32sp"
                        android:layout_marginBottom="12sp"
                        android:ems="10"
                        android:hint="请输入新的收货地址"
                        android:inputType="textPersonName" />

                    <Button
                        android:id="@+id/myModifyBtn"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="end"
                        android:layout_marginEnd="32sp"
                        android:layout_marginBottom="12sp"
                        android:text="确定" />

                </LinearLayout>

                <View
                    android:layout_width="match_parent"
                    android:layout_height="1dp"
                    android:background="#EEEEEE" />

                <TextView
                    android:id="@+id/myGeneralText"
                    android:layout_width="match_parent"
                    android:layout_height="45dp"
                    android:gravity="center_vertical"
                    android:paddingStart="16dp"
                    android:text="通用"
                    android:textSize="18sp"
                    tools:ignore="RtlSymmetry" />

                <View
                    android:layout_width="match_parent"
                    android:layout_height="1dp"
                    android:background="#EEEEEE" />

                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="45dp"
                    android:gravity="center_vertical"
                    android:paddingStart="16dp"
                    android:text="隐私设置"
                    android:textSize="18sp"
                    tools:ignore="RtlSymmetry" />

                <View
                    android:layout_width="match_parent"
                    android:layout_height="1dp"
                    android:background="#EEEEEE" />

                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="45dp"
                    android:gravity="center_vertical"
                    android:paddingStart="16dp"
                    android:text="消息通知设置"
                    android:textSize="18sp"
                    tools:ignore="RtlSymmetry" />

                <View
                    android:layout_width="match_parent"
                    android:layout_height="1dp"
                    android:background="#EEEEEE" />

                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="45dp"
                    android:gravity="center_vertical"
                    android:paddingStart="16dp"
                    android:text="功能反馈"
                    android:textSize="18sp"
                    tools:ignore="RtlSymmetry" />

                <View
                    android:layout_width="match_parent"
                    android:layout_height="1dp"
                    android:background="#EEEEEE" />

                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="45dp"
                    android:gravity="center_vertical"
                    android:paddingStart="16dp"
                    android:text="个人权限说明"
                    android:textSize="18sp"
                    tools:ignore="RtlSymmetry" />

                               <LinearLayout
                                    android:id="@+id/myGeneralView"
                                    android:layout_width="match_parent"
                                    android:layout_height="wrap_content"
                                    android:background="@drawable/my_general_setting"
                                    android:orientation="vertical"
                                    android:visibility="gone">

                                    <androidx.constraintlayout.widget.ConstraintLayout
                                        android:layout_width="match_parent"
                                        android:layout_height="wrap_content">

                                        <CheckBox
                                            android:id="@+id/checkBox"
                                            android:layout_width="wrap_content"
                                            android:layout_height="wrap_content"
                                            android:layout_marginTop="24dp"
                                            android:text="不要葱"
                                            android:visibility="gone"
                                            app:layout_constraintStart_toStartOf="@+id/guideline3"
                                            app:layout_constraintTop_toTopOf="parent" />

                                        <CheckBox
                                            android:id="@+id/checkBox2"
                                            android:layout_width="wrap_content"
                                            android:layout_height="wrap_content"
                                            android:layout_marginTop="8dp"
                                            android:text="不要香菜"
                                            android:visibility="gone"

                                            app:layout_constraintStart_toStartOf="@+id/guideline3"
                                            app:layout_constraintTop_toBottomOf="@+id/checkBox" />

                                        <CheckBox
                                            android:id="@+id/checkBox4"
                                            android:layout_width="wrap_content"
                                            android:layout_height="wrap_content"
                                            android:layout_marginTop="8dp"
                                            android:text="不要蒜"
                                            android:visibility="gone"

                                            app:layout_constraintStart_toStartOf="@+id/guideline3"
                                            app:layout_constraintTop_toBottomOf="@+id/checkBox2" />

                                        <CheckBox
                                            android:id="@+id/checkBox5"
                                            android:layout_width="wrap_content"
                                            android:layout_height="wrap_content"
                                            android:layout_marginTop="8dp"
                                            android:text="不要动物油"
                                            android:visibility="gone"

                                            app:layout_constraintStart_toStartOf="@+id/guideline3"
                                            app:layout_constraintTop_toBottomOf="@+id/checkBox4" />

                                        <CheckBox
                                            android:id="@+id/checkBox6"
                                            android:layout_width="wrap_content"
                                            android:layout_height="wrap_content"
                                            android:layout_marginTop="8dp"
                                            android:layout_marginBottom="12dp"
                                            android:text="不要肉"
                                            android:visibility="gone"

                                            app:layout_constraintBottom_toBottomOf="parent"
                                            app:layout_constraintStart_toStartOf="@+id/guideline3"
                                            app:layout_constraintTop_toBottomOf="@+id/checkBox5" />

                                        <RadioGroup
                                            android:layout_width="wrap_content"
                                            android:layout_height="wrap_content"
                                            android:layout_marginTop="24dp"
                                            app:layout_constraintEnd_toStartOf="@+id/guideline4"
                                            app:layout_constraintTop_toTopOf="parent">

                                            <RadioButton
                                                android:id="@+id/radioButton"
                                                android:layout_width="match_parent"
                                                android:layout_height="wrap_content"
                                                android:layout_marginBottom="8sp"
                                                android:text="不辣"
                                                android:visibility="gone"
                                                />

                                            <RadioButton
                                                android:id="@+id/radioButton2"
                                                android:layout_width="match_parent"
                                                android:layout_height="wrap_content"
                                                android:layout_marginBottom="8sp"
                                                android:visibility="gone"
                                                android:text="微辣" />

                                            <RadioButton
                                                android:id="@+id/radioButton3"
                                                android:layout_width="match_parent"
                                                android:layout_height="wrap_content"
                                                android:layout_marginBottom="8sp"
                                                android:text="中辣"
                                                android:visibility="gone"

                                                />

                                            <RadioButton
                                                android:id="@+id/radioButton4"
                                                android:layout_width="match_parent"
                                                android:layout_height="wrap_content"
                                                android:layout_marginBottom="8sp"
                                                android:text="特辣"
                                                android:visibility="gone"

                                                />

                                            <RadioButton
                                                android:id="@+id/radioButton5"
                                                android:layout_width="match_parent"
                                                android:layout_height="wrap_content"
                                                android:text="麻辣"
                                                android:visibility="gone"

                                                />

                                        </RadioGroup>

                                        <androidx.constraintlayout.widget.Guideline
                                            android:id="@+id/guideline3"
                                            android:layout_width="wrap_content"
                                            android:layout_height="wrap_content"
                                            android:orientation="vertical"
                                            app:layout_constraintGuide_percent="0.15" />

                                        <androidx.constraintlayout.widget.Guideline
                                            android:id="@+id/guideline4"
                                            android:layout_width="wrap_content"
                                            android:layout_height="wrap_content"
                                            android:orientation="vertical"
                                            app:layout_constraintGuide_percent="0.8" />
                                    </androidx.constraintlayout.widget.ConstraintLayout>

                                    <Button
                                        android:id="@+id/myGeneralBtn"
                                        android:layout_width="wrap_content"
                                        android:layout_height="wrap_content"
                                        android:layout_gravity="end"
                                        android:layout_marginEnd="32sp"
                                        android:layout_marginBottom="12sp"
                                        android:text="确定" />

                                </LinearLayout>
                            </LinearLayout>

                            <LinearLayout
                                android:layout_width="0dp"
                                android:layout_height="wrap_content"
                                android:layout_marginTop="16dp"
                                android:layout_marginBottom="16dp"
                                android:background="@drawable/radius_content"
                                android:orientation="vertical"
                                app:layout_constraintBottom_toBottomOf="parent"
                                app:layout_constraintEnd_toEndOf="parent"
                                app:layout_constraintStart_toStartOf="parent"
                                app:layout_constraintTop_toBottomOf="@+id/linearLayout2">

                                <TextView
                                    android:id="@+id/logoutBtn"
                                    android:layout_width="match_parent"
                                    android:layout_height="45dp"
                                    android:gravity="center"
                                    android:paddingStart="16dp"
                                    android:text="退出账号"
                                    android:textSize="16sp"
                                    tools:ignore="RtlSymmetry" />

                            </LinearLayout>


                        </androidx.constraintlayout.widget.ConstraintLayout>
                    </ScrollView>

                </androidx.constraintlayout.widget.ConstraintLayout>