replicant-packages_apps_Email/res/xml/mailbox_preferences.xml
Yu Ping Hu 038924037b Fix mailbox sync options.
- Change mailbox sync interval to be a boolean.
- Decouple Inbox settings from account settings.

Change-Id: Id02d43b281f323ca4db499ce97e8f4bb6d82c2bb
2013-06-24 19:38:35 -07:00

36 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2011 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<CheckBoxPreference
android:key="sync_enabled"
android:defaultValue="false"
android:title="@string/mailbox_settings_sync_enabled_label"
android:summary="@string/mailbox_settings_sync_enabled_summary" />
<!-- summary is set at runtime -->
<ListPreference
android:key="sync_window"
android:title="@string/mailbox_settings_mailbox_sync_window_label"
android:dialogTitle="@string/mailbox_settings_mailbox_sync_window_label"
android:entries="@array/account_settings_mail_window_entries_with_default"
android:entryValues="@array/account_settings_mail_window_values_with_default"
android:persistent="false"
/>
</PreferenceScreen>