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 xmlns:settings="http://schemas.android.com/apk/res/com.android.settings" 19 android:key="location_settings" 20 android:title="@string/location_settings_title" 21 settings:keywords="@string/keywords_location"> 22 23 <Preference 24 android:key="location_mode" 25 android:title="@string/location_mode_title" 26 settings:keywords="@string/keywords_location_mode" 27 android:summary="@string/location_mode_location_off_title" /> 28 29 <!-- This preference category gets removed if there is no managed profile --> 30 <PreferenceCategory 31 android:key="managed_profile_location_category" 32 android:title="@string/managed_profile_location_category"> 33 34 <Preference 35 android:key="managed_profile_location_switch" 36 android:title="@string/managed_profile_location_switch_title" 37 android:summary="@string/managed_profile_location_switch_lockdown" 38 android:persistent="false" 39 android:enabled="false" 40 android:selectable="false" /> 41 42 </PreferenceCategory> 43 44 <PreferenceCategory 45 android:key="recent_location_requests" 46 android:title="@string/location_category_recent_location_requests" /> 47 48 <PreferenceCategory 49 android:key="location_services" 50 android:title="@string/location_category_location_services" /> 51 52</PreferenceScreen> 53