1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright 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<androidx.preference.PreferenceScreen 19 xmlns:android="http://schemas.android.com/apk/res/android"> 20 21 <PreferenceCategory 22 android:key="@string/pref_key_angle_flags_category" 23 android:title="@string/angle_general_title"> 24 25 <!--TODO : Issue 2989 : boulder-graphics-team@google.com 26 Enable the switch once Android can boot with ANGLE enabled for everything--> 27 <androidx.preference.SwitchPreference 28 android:key="@string/pref_key_all_angle" 29 android:title="@string/use_angle_for_all_apps" 30 android:summary="@string/global_settings_driver_all_angle" 31 android:defaultValue="false" 32 android:enabled="false"/> 33 34 <androidx.preference.SwitchPreference 35 android:key="@string/pref_key_angle_in_use_dialog" 36 android:title="@string/show_angle_in_use_dialog_box" 37 android:summary="@string/global_settings_show_angle_in_use_dialog_box" 38 android:defaultValue="false" 39 android:enabled="true"/> 40 </PreferenceCategory> 41 42 <PreferenceCategory 43 android:key="@string/pref_key_select_opengl_driver_category" 44 android:title="@string/select_opengl_driver_title"> 45 46 </PreferenceCategory> 47 48</androidx.preference.PreferenceScreen> 49