menghanli | 7561044 | 2019-12-18 20:42:47 +0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2019 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:key="magnification_mode_screen" |
| 21 | android:persistent="false" |
jasonwshsu | 27d06ff | 2020-03-11 21:58:25 +0800 | [diff] [blame] | 22 | android:title="@string/accessibility_magnification_service_settings_title" |
| 23 | settings:searchable="false"> |
menghanli | 7561044 | 2019-12-18 20:42:47 +0800 | [diff] [blame] | 24 | |
| 25 | <Preference |
| 26 | android:key="magnification_mode" |
| 27 | android:persistent="false" |
| 28 | android:title="@string/accessibility_magnification_mode_title" |
jasonwshsu | 27d06ff | 2020-03-11 21:58:25 +0800 | [diff] [blame] | 29 | settings:searchable="false" |
menghanli | 7561044 | 2019-12-18 20:42:47 +0800 | [diff] [blame] | 30 | settings:controller="com.android.settings.accessibility.MagnificationModePreferenceController" /> |
| 31 | |
| 32 | <SwitchPreference |
mincheli | 5b59e62 | 2020-01-08 20:26:04 +0800 | [diff] [blame] | 33 | android:key="magnification_enable" |
menghanli | 7561044 | 2019-12-18 20:42:47 +0800 | [diff] [blame] | 34 | android:persistent="false" |
mincheli | 5b59e62 | 2020-01-08 20:26:04 +0800 | [diff] [blame] | 35 | android:title="@string/accessibility_magnification_enable_mode_title" |
| 36 | android:summaryOn="@string/accessibility_magnification_area_settings_full_screen_summary" |
| 37 | android:summaryOff="@string/accessibility_magnification_area_settings_window_screen_summary" |
jasonwshsu | 27d06ff | 2020-03-11 21:58:25 +0800 | [diff] [blame] | 38 | settings:searchable="false" |
mincheli | 5b59e62 | 2020-01-08 20:26:04 +0800 | [diff] [blame] | 39 | settings:controller="com.android.settings.accessibility.MagnificationEnablePreferenceController" /> |
| 40 | |
menghanli | 7561044 | 2019-12-18 20:42:47 +0800 | [diff] [blame] | 41 | </PreferenceScreen> |