1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2020 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 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:settings="http://schemas.android.com/apk/res-auto" 21 xmlns:app="http://schemas.android.com/apk/res-auto" 22 android:persistent="false" 23 android:title="@string/one_handed_title"> 24 25 <com.android.settingslib.widget.IllustrationPreference 26 android:key="one_handed_header" 27 settings:searchable="false" 28 app:lottie_rawRes="@raw/lottie_one_hand_mode"/> 29 30 <com.android.settingslib.widget.MainSwitchPreference 31 android:key="gesture_one_handed_mode_enabled_main_switch" 32 android:title="@string/one_handed_mode_enabled" 33 settings:keywords="@string/keywords_one_handed" 34 settings:controller="com.android.settings.gestures.OneHandedMainSwitchPreferenceController"/> 35 36 <com.android.settingslib.widget.TopIntroPreference 37 android:key="gesture_one_handed_mode_intro_text" 38 android:title="@string/one_handed_mode_intro_text"/> 39 40 <PreferenceCategory 41 android:key="gesture_one_handed_mode_swipe_down" 42 android:title="@string/one_handed_mode_swipe_down_category" 43 settings:controller="com.android.settings.gestures.OneHandedPreferenceCategoryController"> 44 45 <com.android.settingslib.widget.RadioButtonPreference 46 android:key="gesture_one_handed_action_pull_screen_down" 47 android:title="@string/one_handed_action_pull_down_screen_title" 48 android:summary="@string/one_handed_action_pull_down_screen_summary" 49 settings:controller="com.android.settings.gestures.OneHandedActionPullDownPrefController"/> 50 51 <com.android.settingslib.widget.RadioButtonPreference 52 android:key="gesture_one_handed_action_show_notification" 53 android:title="@string/one_handed_action_show_notification_title" 54 android:summary="@string/one_handed_action_show_notification_summary" 55 settings:controller="com.android.settings.gestures.OneHandedActionShowNotificationPrefController"/> 56 57 </PreferenceCategory> 58</PreferenceScreen> 59