1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2024 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16--> 17 18<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:settings="http://schemas.android.com/apk/res-auto" 20 xmlns:app="http://schemas.android.com/apk/res-auto" 21 android:title="@string/notification_bundle_title"> 22 23 <com.android.settingslib.widget.IllustrationPreference 24 android:key="illustration" 25 settings:searchable="false" 26 android:selectable="false" 27 app:lottie_cacheComposition="false" 28 settings:dynamicColor="true"/> 29 30 <com.android.settingslib.widget.TopIntroPreference 31 android:key="feature_description" 32 settings:searchable="false" 33 android:title="@string/notification_bundle_description"/> 34 35 <com.android.settingslib.widget.MainSwitchPreference 36 android:key="global_pref" 37 android:title="@string/notification_bundle_main_control_title" 38 settings:controller="com.android.settings.notification.BundleGlobalPreferenceController" /> 39 40 <CheckBoxPreference 41 android:key="promotions" 42 android:title="@*android:string/promotional_notification_channel_label" 43 settings:controller="com.android.settings.notification.BundleTypePreferenceController"/> 44 45 <CheckBoxPreference 46 android:key="news" 47 android:title="@*android:string/news_notification_channel_label" 48 settings:controller="com.android.settings.notification.BundleTypePreferenceController"/> 49 50 <CheckBoxPreference 51 android:key="social" 52 android:title="@*android:string/social_notification_channel_label" 53 settings:controller="com.android.settings.notification.BundleTypePreferenceController"/> 54 55 <CheckBoxPreference 56 android:key="recs" 57 android:title="@*android:string/recs_notification_channel_label" 58 settings:controller="com.android.settings.notification.BundleTypePreferenceController"/> 59</PreferenceScreen> 60