The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2008 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 | |
| 19 | <PreferenceCategory |
Amith Yamasani | f06d869 | 2009-06-11 22:32:33 -0700 | [diff] [blame] | 20 | android:key="location_category" |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 21 | android:title="@string/location_title"> |
| 22 | |
| 23 | <CheckBoxPreference |
| 24 | android:key="location_network" |
Amith Yamasani | f06d869 | 2009-06-11 22:32:33 -0700 | [diff] [blame] | 25 | android:title="@string/location_network_based" |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 26 | android:summaryOn="@string/location_neighborhood_level" |
| 27 | android:summaryOff="@string/location_networks_disabled"/> |
| 28 | |
| 29 | <CheckBoxPreference |
| 30 | android:key="location_gps" |
| 31 | android:title="@string/location_gps" |
| 32 | android:summaryOn="@string/location_street_level" |
| 33 | android:summaryOff="@string/location_gps_disabled"/> |
Amith Yamasani | f06d869 | 2009-06-11 22:32:33 -0700 | [diff] [blame] | 34 | |
Mike Lockwood | 7f89412 | 2009-08-25 11:34:56 -0700 | [diff] [blame^] | 35 | <!-- Disabled to avoid confusion on devices with no AGPS |
| 36 | For Google experience devices we want AGPS on by default (if supported) so we don't really need this. |
Amith Yamasani | f06d869 | 2009-06-11 22:32:33 -0700 | [diff] [blame] | 37 | <CheckBoxPreference |
Mike Lockwood | d75fb2f | 2009-06-25 16:39:48 -0400 | [diff] [blame] | 38 | android:key="assisted_gps" |
| 39 | android:title="@string/assisted_gps" |
| 40 | android:summaryOn="@string/assisted_gps_enabled" |
| 41 | android:summaryOff="@string/assisted_gps_disabled"/> |
Mike Lockwood | 7f89412 | 2009-08-25 11:34:56 -0700 | [diff] [blame^] | 42 | --> |
Mike Lockwood | d75fb2f | 2009-06-25 16:39:48 -0400 | [diff] [blame] | 43 | <CheckBoxPreference |
Amith Yamasani | f06d869 | 2009-06-11 22:32:33 -0700 | [diff] [blame] | 44 | android:key="use_location" |
| 45 | android:title="@string/use_location_title" |
| 46 | android:persistent="false" |
| 47 | android:summary="@string/use_location_summary"/> |
| 48 | |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 49 | </PreferenceCategory> |
| 50 | |
| 51 | </PreferenceScreen> |