|
|
|
@ -259,182 +259,238 @@
|
|
|
|
|
android:textSize="18sp"
|
|
|
|
|
tools:ignore="RtlSymmetry" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/myGeneralView"
|
|
|
|
|
<View
|
|
|
|
|
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" />
|
|
|
|
|
android:layout_height="1dp"
|
|
|
|
|
android:background="#EEEEEE" />
|
|
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
<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" />
|
|
|
|
|
|
|
|
|
|
<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="确定" />
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="1dp"
|
|
|
|
|
android:background="#EEEEEE" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</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" />
|
|
|
|
|
|
|
|
|
|
<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">
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="1dp"
|
|
|
|
|
android:background="#EEEEEE" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/logoutBtn"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="45dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:text="退出账号"
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
android:text="功能反馈"
|
|
|
|
|
android:textSize="18sp"
|
|
|
|
|
tools:ignore="RtlSymmetry" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="1dp"
|
|
|
|
|
android:background="#EEEEEE" />
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
</ScrollView>
|
|
|
|
|
<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" />
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
<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>
|