Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2010 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 <!-- App-wide preferences -->
     18 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
     19 
     20     <CheckBoxPreference
     21         android:key="confirm_delete"
     22         android:persistent="true"
     23         android:defaultValue="false"
     24         android:title="@string/general_preference_confirm_delete_label" />
     25 
     26     <CheckBoxPreference
     27         android:key="confirm_send"
     28         android:persistent="true"
     29         android:defaultValue="false"
     30         android:title="@string/general_preference_confirm_send_label" />
     31 
     32     <ListPreference
     33         android:key="auto_advance"
     34         android:title="@string/auto_advance_label"
     35         android:summary="@string/auto_advance_summary"
     36         android:entries="@array/prefEntries_autoAdvance"
     37         android:entryValues="@array/prefValues_autoAdvance"
     38         android:dialogTitle="@string/auto_advance_help_title" />
     39 
     40     <!-- Note, summary is set dynamically in GeneralPreferences.java -->
     41     <ListPreference
     42         android:key="text_zoom"
     43         android:title="@string/general_preference_text_zoom_label"
     44         android:entries="@array/general_preference_text_zoom_entries"
     45         android:entryValues="@array/general_preference_text_zoom_values"
     46         android:dialogTitle="@string/general_preference_text_zoom_dialog_title" />
     47 
     48     <CheckBoxPreference
     49         android:key="conversation_list_icon"
     50         android:persistent="false"
     51         android:defaultValue="true"
     52         android:title="@string/preference_sender_image_title"
     53         android:summary="@string/preference_sender_image_description" />
     54 
     55     <!-- This may be removed in GeneralPreferences.java -->
     56     <CheckBoxPreference
     57         android:key="default-reply-all"
     58         android:persistent="false"
     59         android:defaultValue="false"
     60         android:title="@string/preferences_default_reply_all_title"
     61         android:summary="@string/preferences_default_reply_all_summary" />
     62 
     63     <CheckBoxPreference
     64         android:key="conversation-list-swipe"
     65         android:persistent="false"
     66         android:defaultValue="true"
     67         android:title="@string/preference_swipe_title_delete"
     68         android:summary="@string/preference_swipe_description" />
     69 
     70 </PreferenceScreen>
     71