1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 Copyright (C) 2014 Google Inc. 4 Licensed to The Android Open Source Project. 5 6 Licensed under the Apache License, Version 2.0 (the "License"); 7 you may not use this file except in compliance with the License. 8 You may obtain a copy of the License at 9 10 http://www.apache.org/licenses/LICENSE-2.0 11 12 Unless required by applicable law or agreed to in writing, software 13 distributed under the License is distributed on an "AS IS" BASIS, 14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 See the License for the specific language governing permissions and 16 limitations under the License. 17 --> 18 19 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:gm="http://schemas.android.com/apk/res-auto" > 21 22 <com.android.mail.ui.settings.FancySummaryListPreference 23 android:defaultValue="@string/prefDefault_removal_action" 24 android:dialogTitle="@string/prefDialogTitle_removal_action" 25 android:entries="@array/prefEntries_removal_action" 26 android:entryValues="@array/prefValues_removal_action" 27 android:key="removal-action" 28 android:persistent="true" 29 android:title="@string/preference_removal_action_title" 30 gm:entrySummaries="@array/prefSummaries_removal_action_summary" /> 31 32 <CheckBoxPreference 33 android:defaultValue="true" 34 android:key="conversation-list-swipe" 35 android:persistent="true" 36 android:summary="@string/preference_swipe_description" 37 android:title="@string/preference_swipe_title" /> 38 39 <CheckBoxPreference 40 android:defaultValue="true" 41 android:key="conversation-list-sender-image" 42 android:persistent="true" 43 android:summary="@string/preference_sender_image_description" 44 android:title="@string/preference_sender_image_title" /> 45 46 <CheckBoxPreference 47 android:defaultValue="@bool/prefDefault_actionStripActionReplyAll" 48 android:key="default-reply-all" 49 android:persistent="true" 50 android:summary="@string/preferences_default_reply_all_summary" 51 android:title="@string/preferences_default_reply_all_title" /> 52 53 <CheckBoxPreference 54 android:defaultValue="true" 55 android:key="conversation-overview-mode" 56 android:persistent="true" 57 android:summary="@string/preferences_conversation_mode_summary" 58 android:title="@string/preferences_conversation_mode_title" /> 59 60 <com.android.mail.ui.settings.FancySummaryListPreference 61 android:defaultValue="@string/prefDefault_autoAdvance" 62 android:dialogTitle="@string/prefDialogTitle_autoAdvance" 63 android:entries="@array/prefEntries_autoAdvance" 64 android:entryValues="@array/prefValues_autoAdvance" 65 android:key="auto-advance-widget" 66 android:persistent="false" 67 android:title="@string/preference_advance_to_title" 68 gm:entrySummaries="@array/prefSummaries_autoAdvance" /> 69 70 <PreferenceCategory 71 android:title="@string/preference_header_action_confirmations" 72 android:key="removal-actions-group"> 73 <CheckBoxPreference 74 android:defaultValue="false" 75 android:key="confirm-delete" 76 android:persistent="true" 77 android:title="@string/preference_confirm_before_delete_title" /> 78 <CheckBoxPreference 79 android:defaultValue="false" 80 android:key="confirm-archive" 81 android:persistent="true" 82 android:title="@string/preference_confirm_before_archive_title" /> 83 <CheckBoxPreference 84 android:defaultValue="false" 85 android:key="confirm-send" 86 android:persistent="true" 87 android:title="@string/preference_confirm_before_send_title" /> 88 </PreferenceCategory> 89 90 </PreferenceScreen> 91