1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2011 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 --> 16 17 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" 18 android:title="@string/location_settings_title"> 19 20 <com.android.settings.WrappingSwitchPreference 21 android:key="location_toggle" 22 android:title="@string/location_access_title" 23 android:summary="@string/location_access_summary" 24 android:persistent="true"/> 25 26 <PreferenceCategory 27 android:key="location_sources" 28 android:title="@string/location_sources_heading" /> 29 30 <CheckBoxPreference 31 android:key="location_gps" 32 android:title="@string/location_gps" 33 android:summary="@string/location_street_level" 34 android:dependency="location_toggle" 35 android:persistent="false" /> 36 37 <com.android.settings.WrappingCheckBoxPreference 38 android:key="location_network" 39 android:title="@string/location_network_based" 40 android:summary="@string/location_neighborhood_level" 41 android:dependency="location_toggle" 42 android:persistent="false" /> 43 44 <!-- Disabled to avoid confusion on devices with no AGPS 45 For Google experience devices we want AGPS on by default (if supported) so we don't really need this. 46 <CheckBoxPreference 47 android:key="assisted_gps" 48 android:title="@string/assisted_gps" 49 android:summaryOn="@string/assisted_gps_enabled" 50 android:summaryOff="@string/assisted_gps_disabled"/> 51 --> 52 53 </PreferenceScreen> 54