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<!-- The Location preferences UI --> 18<PreferenceScreen 19 xmlns:android="http://schemas.android.com/apk/res/android"> 20 21 <PreferenceCategory android:title="@string/update_preference"> 22 <EditTextPreference android:key="mintime_preference" 23 android:defaultValue="0" 24 android:title="@string/title_mintime_preference" 25 android:summary="@string/summary_mintime_preference" 26 android:dialogTitle="@string/dialog_title_mintime_preference" /> 27 28 <EditTextPreference android:key="mindistance_preference" 29 android:defaultValue="0" 30 android:title="@string/title_mindistance_preference" 31 android:summary="@string/summary_mindistance_preference" 32 android:dialogTitle="@string/dialog_title_mindistance_preference" /> 33 34 </PreferenceCategory> 35 36 <PreferenceCategory android:title="@string/provider_preferences"> 37 38 <CheckBoxPreference android:key="network_preference" 39 android:defaultValue="true" 40 android:title="@string/title_network_preference" 41 android:summary="@string/summary_network_preference" /> 42 43 <CheckBoxPreference android:key="gps_preference" 44 android:defaultValue="true" 45 android:title="@string/title_gps_preference" 46 android:summary="@string/summary_gps_preference" /> 47 48 <CheckBoxPreference android:key="signal_preference" 49 android:defaultValue="false" 50 android:title="@string/title_signal_preference" 51 android:summary="@string/summary_signal_preference" /> 52 53 </PreferenceCategory> 54 55 <PreferenceCategory android:title="@string/advanced_preferences"> 56 57 <CheckBoxPreference android:key="advanced_log_preference" 58 android:defaultValue="false" 59 android:title="@string/title_advanced_log_preference" 60 android:summary="@string/summary_advanced_preference" /> 61 </PreferenceCategory> 62 63</PreferenceScreen> 64