<?xml version="1.0" encoding="utf-8"?> 
 | 
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
 | 
    xmlns:app="http://schemas.android.com/apk/res-auto" 
 | 
    android:layout_width="match_parent" 
 | 
    android:layout_height="match_parent" 
 | 
    android:background="#F5F5F5" 
 | 
    android:orientation="vertical"> 
 | 
  
 | 
  
 | 
    <!-- 选择提醒分类部分 --> 
 | 
    <LinearLayout 
 | 
        android:layout_width="match_parent" 
 | 
        android:layout_height="wrap_content" 
 | 
        android:orientation="vertical" 
 | 
        android:padding="16dp"> 
 | 
  
 | 
        <LinearLayout 
 | 
            android:layout_width="match_parent" 
 | 
            android:layout_height="wrap_content" 
 | 
            android:gravity="center_vertical" 
 | 
            android:orientation="horizontal"> 
 | 
  
 | 
            <TextView 
 | 
                android:layout_width="0dp" 
 | 
                android:layout_height="wrap_content" 
 | 
                android:layout_weight="1" 
 | 
                android:text="选择设置分类" 
 | 
                android:textColor="#000000" 
 | 
                android:textSize="16sp" /> 
 | 
  
 | 
            <TextView 
 | 
                android:id="@+id/tvSelectAll" 
 | 
                android:layout_width="wrap_content" 
 | 
                android:layout_height="wrap_content" 
 | 
                android:text="全选" 
 | 
                android:textColor="#3F51B5" 
 | 
                android:textSize="14sp" /> 
 | 
        </LinearLayout> 
 | 
  
 | 
        <!-- 分类选项 第一行4个 --> 
 | 
        <LinearLayout 
 | 
            android:layout_width="match_parent" 
 | 
            android:layout_height="wrap_content" 
 | 
            android:layout_marginTop="8dp" 
 | 
            android:orientation="horizontal"> 
 | 
  
 | 
            <LinearLayout 
 | 
                android:layout_width="0dp" 
 | 
                android:layout_height="wrap_content" 
 | 
                android:layout_weight="1" 
 | 
                android:orientation="horizontal"> 
 | 
  
 | 
                <CheckBox 
 | 
                    android:id="@+id/checkBoxExpress" 
 | 
                    android:layout_width="wrap_content" 
 | 
                    android:layout_height="wrap_content" /> 
 | 
  
 | 
                <TextView 
 | 
                    android:layout_width="0dp" 
 | 
                    android:layout_height="wrap_content" 
 | 
                    android:layout_weight="1" 
 | 
                    android:text="快递" 
 | 
                    android:textColor="#000000" 
 | 
                    android:textSize="14sp" /> 
 | 
  
 | 
            </LinearLayout> 
 | 
  
 | 
            <LinearLayout 
 | 
                android:layout_width="0dp" 
 | 
                android:layout_height="wrap_content" 
 | 
                android:layout_weight="1" 
 | 
                android:orientation="horizontal"> 
 | 
  
 | 
                <CheckBox 
 | 
                    android:id="@+id/checkBoxFinance" 
 | 
                    android:layout_width="wrap_content" 
 | 
                    android:layout_height="wrap_content" /> 
 | 
  
 | 
                <TextView 
 | 
                    android:layout_width="0dp" 
 | 
                    android:layout_height="wrap_content" 
 | 
                    android:layout_weight="1" 
 | 
                    android:text="还款" 
 | 
                    android:textColor="#000000" 
 | 
                    android:textSize="14sp" /> 
 | 
  
 | 
  
 | 
            </LinearLayout> 
 | 
  
 | 
            <LinearLayout 
 | 
                android:layout_width="0dp" 
 | 
                android:layout_height="wrap_content" 
 | 
                android:layout_weight="1" 
 | 
                android:orientation="horizontal"> 
 | 
  
 | 
                <CheckBox 
 | 
                    android:id="@+id/checkBoxIncome" 
 | 
                    android:layout_width="wrap_content" 
 | 
                    android:layout_height="wrap_content" /> 
 | 
  
 | 
                <TextView 
 | 
                    android:layout_width="0dp" 
 | 
                    android:layout_height="wrap_content" 
 | 
                    android:layout_weight="1" 
 | 
                    android:text="收入" 
 | 
                    android:textColor="#000000" 
 | 
                    android:textSize="14sp" /> 
 | 
  
 | 
  
 | 
            </LinearLayout> 
 | 
  
 | 
<!--            <LinearLayout--> 
 | 
<!--                android:layout_width="0dp"--> 
 | 
<!--                android:layout_height="wrap_content"--> 
 | 
<!--                android:layout_weight="1"--> 
 | 
<!--                android:orientation="horizontal">--> 
 | 
  
 | 
<!--                <CheckBox--> 
 | 
<!--                    android:id="@+id/checkBoxFlight"--> 
 | 
<!--                    android:layout_width="wrap_content"--> 
 | 
<!--                    android:layout_height="wrap_content" />--> 
 | 
  
 | 
<!--                <TextView--> 
 | 
<!--                    android:layout_width="0dp"--> 
 | 
<!--                    android:layout_height="wrap_content"--> 
 | 
<!--                    android:layout_weight="1"--> 
 | 
<!--                    android:text="航班"--> 
 | 
<!--                    android:textColor="#000000"--> 
 | 
<!--                    android:textSize="14sp" />--> 
 | 
  
 | 
  
 | 
<!--            </LinearLayout>--> 
 | 
        </LinearLayout> 
 | 
  
 | 
        <!-- 第二行1个 --> 
 | 
<!--        <LinearLayout--> 
 | 
<!--            android:layout_width="match_parent"--> 
 | 
<!--            android:layout_height="wrap_content"--> 
 | 
<!--            android:layout_marginTop="8dp"--> 
 | 
<!--            android:orientation="horizontal">--> 
 | 
  
 | 
<!--            <LinearLayout--> 
 | 
<!--                android:layout_width="wrap_content"--> 
 | 
<!--                android:layout_height="wrap_content"--> 
 | 
<!--                android:orientation="horizontal">--> 
 | 
  
 | 
<!--                <CheckBox--> 
 | 
<!--                    android:id="@+id/checkBoxTrain"--> 
 | 
<!--                    android:layout_width="wrap_content"--> 
 | 
<!--                    android:layout_height="wrap_content" />--> 
 | 
  
 | 
<!--                <TextView--> 
 | 
<!--                    android:layout_width="wrap_content"--> 
 | 
<!--                    android:layout_height="wrap_content"--> 
 | 
<!--                    android:text="火车票"--> 
 | 
<!--                    android:textColor="#000000"--> 
 | 
<!--                    android:textSize="14sp" />--> 
 | 
  
 | 
  
 | 
<!--            </LinearLayout>--> 
 | 
<!--        </LinearLayout>--> 
 | 
  
 | 
        <!-- 选择提醒方式部分 --> 
 | 
        <LinearLayout 
 | 
            android:layout_width="match_parent" 
 | 
            android:layout_height="wrap_content" 
 | 
            android:layout_marginTop="16dp" 
 | 
            android:gravity="center_vertical" 
 | 
            android:orientation="horizontal"> 
 | 
  
 | 
            <TextView 
 | 
                android:layout_width="0dp" 
 | 
                android:layout_height="wrap_content" 
 | 
                android:layout_weight="1" 
 | 
                android:text="选择提醒方式" 
 | 
                android:textColor="#000000" 
 | 
                android:textSize="16sp" /> 
 | 
  
 | 
            <TextView 
 | 
                android:id="@+id/tvSelectAllNotifications" 
 | 
                android:layout_width="wrap_content" 
 | 
                android:layout_height="wrap_content" 
 | 
                android:text="全选" 
 | 
                android:textColor="#3F51B5" 
 | 
                android:textSize="14sp" /> 
 | 
        </LinearLayout> 
 | 
  
 | 
        <!-- 通知卡片 --> 
 | 
        <androidx.cardview.widget.CardView 
 | 
            android:layout_width="match_parent" 
 | 
            android:layout_height="wrap_content" 
 | 
            android:layout_marginTop="8dp" 
 | 
            app:cardCornerRadius="8dp" 
 | 
            app:cardElevation="2dp"> 
 | 
  
 | 
            <LinearLayout 
 | 
                android:layout_width="match_parent" 
 | 
                android:layout_height="wrap_content" 
 | 
                android:orientation="vertical" 
 | 
                android:padding="8dp"> 
 | 
  
 | 
                <LinearLayout 
 | 
                    android:layout_width="match_parent" 
 | 
                    android:layout_height="wrap_content" 
 | 
                    android:gravity="center_vertical" 
 | 
                    android:orientation="horizontal"> 
 | 
  
 | 
                    <TextView 
 | 
                        android:layout_width="0dp" 
 | 
                        android:layout_height="wrap_content" 
 | 
                        android:layout_weight="1" 
 | 
                        android:text="手机界面弹框" 
 | 
                        android:textSize="14sp" 
 | 
                        android:gravity="end"/> 
 | 
  
 | 
                    <CheckBox 
 | 
                        android:id="@+id/checkBoxPhone" 
 | 
                        android:layout_width="wrap_content" 
 | 
                        android:layout_height="wrap_content" /> 
 | 
                </LinearLayout> 
 | 
  
 | 
                <!-- 简化的通知图片 --> 
 | 
                <ImageView 
 | 
                    android:layout_width="match_parent" 
 | 
                    android:layout_height="wrap_content" 
 | 
                    android:layout_marginTop="8dp" 
 | 
                    android:adjustViewBounds="true" 
 | 
                    android:background="#F8F8F8" 
 | 
                    android:contentDescription="通知示例" 
 | 
                    android:padding="8dp" 
 | 
                    android:src="@drawable/reminder_png" /> 
 | 
            </LinearLayout> 
 | 
        </androidx.cardview.widget.CardView> 
 | 
  
 | 
        <!-- 选择提醒方式部分 --> 
 | 
        <LinearLayout 
 | 
            android:layout_width="match_parent" 
 | 
            android:layout_height="wrap_content" 
 | 
            android:layout_marginTop="16dp" 
 | 
            android:gravity="center_vertical" 
 | 
            android:orientation="horizontal"> 
 | 
  
 | 
            <TextView 
 | 
                android:layout_width="0dp" 
 | 
                android:layout_height="wrap_content" 
 | 
                android:layout_weight="1" 
 | 
                android:text="如果没有获取授权短信通知,需要手动打开" 
 | 
                android:textColor="#000000" 
 | 
                android:textSize="16sp" /> 
 | 
  
 | 
        </LinearLayout> 
 | 
  
 | 
        <!-- 通知卡片 --> 
 | 
        <androidx.cardview.widget.CardView 
 | 
            android:layout_width="match_parent" 
 | 
            android:layout_height="wrap_content" 
 | 
            android:layout_marginTop="8dp" 
 | 
            app:cardCornerRadius="8dp" 
 | 
            app:cardElevation="2dp"> 
 | 
  
 | 
            <LinearLayout 
 | 
                android:layout_width="match_parent" 
 | 
                android:layout_height="wrap_content" 
 | 
                android:orientation="vertical" 
 | 
                android:padding="8dp"> 
 | 
  
 | 
                <LinearLayout 
 | 
                    android:layout_width="match_parent" 
 | 
                    android:layout_height="wrap_content" 
 | 
                    android:gravity="center_vertical" 
 | 
                    android:orientation="horizontal"> 
 | 
  
 | 
                    <TextView 
 | 
                        android:layout_width="0dp" 
 | 
                        android:layout_height="wrap_content" 
 | 
                        android:layout_weight="1" 
 | 
                        android:text="点击允许通知" 
 | 
                        android:textSize="14sp" 
 | 
                        android:gravity="end"/> 
 | 
  
 | 
                </LinearLayout> 
 | 
  
 | 
                <!-- 简化的通知图片 --> 
 | 
                <ImageView 
 | 
                    android:layout_width="match_parent" 
 | 
                    android:layout_height="120dp" 
 | 
                    android:layout_marginTop="8dp" 
 | 
                    android:adjustViewBounds="true" 
 | 
                    android:background="#F8F8F8" 
 | 
                    android:contentDescription="通知示例" 
 | 
                    android:padding="8dp" 
 | 
                    android:src="@drawable/message_notification" /> 
 | 
            </LinearLayout> 
 | 
        </androidx.cardview.widget.CardView> 
 | 
    </LinearLayout> 
 | 
  
 | 
  
 | 
    <!-- 保存按钮区域 --> 
 | 
    <LinearLayout 
 | 
        android:id="@+id/layout_bottom" 
 | 
        android:layout_width="match_parent" 
 | 
        android:layout_height="wrap_content" 
 | 
        android:layout_alignParentBottom="true" 
 | 
        android:layout_marginBottom="16dp" 
 | 
        android:gravity="center" 
 | 
        android:orientation="vertical" 
 | 
        android:padding="16dp"> 
 | 
  
 | 
        <Button 
 | 
            android:id="@+id/saveButton" 
 | 
            android:layout_width="match_parent" 
 | 
            android:layout_height="wrap_content" 
 | 
            android:layout_marginTop="8dp" 
 | 
            android:backgroundTint="@color/black" 
 | 
            android:drawablePadding="8dp" 
 | 
            android:padding="12dp" 
 | 
            android:text="保存" 
 | 
            android:textColor="@android:color/white" 
 | 
            android:textSize="18sp" /> 
 | 
    </LinearLayout> 
 | 
  
 | 
</LinearLayout> 
 |