1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2023 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 android:title="@string/flash_notifications_title"> 21 22 <com.android.settingslib.widget.TopIntroPreference 23 android:key="flash_notifications_intro" 24 settings:searchable="false" 25 settings:controller="com.android.settings.accessibility.FlashNotificationsIntroPreferenceController" /> 26 27 <com.android.settingslib.widget.IllustrationPreference 28 android:key="flash_notifications_illustration" 29 settings:searchable="false" 30 settings:lottie_rawRes="@drawable/flash_notifications_illustration" 31 settings:controller="com.android.settings.accessibility.FlashNotificationIllustrationPreferenceController"/> 32 33 <SwitchPreferenceCompat 34 android:key="camera_flash_notification_preference" 35 android:persistent="false" 36 android:title="@string/camera_flash_notification_title" 37 settings:controller="com.android.settings.accessibility.CameraFlashNotificationPreferenceController" /> 38 39 <com.android.settingslib.PrimarySwitchPreference 40 android:key="screen_flash_notification_preference" 41 android:persistent="false" 42 android:title="@string/screen_flash_notification_title" 43 settings:controller="com.android.settings.accessibility.ScreenFlashNotificationPreferenceController" /> 44 45 <com.android.settings.accessibility.FlashNotificationsPreviewPreference 46 android:key="flash_notifications_preview" 47 android:title="@string/flash_notifications_preview" 48 settings:searchable="false" 49 settings:controller="com.android.settings.accessibility.FlashNotificationsPreviewPreferenceController" /> 50 51 <com.android.settings.accessibility.AccessibilityFooterPreference 52 android:key="flash_notifications_footer" 53 android:title="@string/flash_notifications_note" 54 android:selectable="false" 55 settings:searchable="false" 56 settings:controller="com.android.settings.accessibility.FlashNotificationsFooterPreferenceController"/> 57 58</PreferenceScreen> 59