| <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> |
| |
| <!-- NOTE: Hide buttons to simplify the UI. Users can touch outside the dialog to |
| dismiss it. --> |
| <!-- NOTE: ListPreference's summary should be set to its value by the activity code. --> |
| <ListPreference |
| android:key="online_list_update_frequency" |
| android:title="@string/pref_title_online_list_update_frequency" |
| android:entries="@array/pref_online_list_update_frequency_titles" |
| android:entryValues="@array/pref_online_list_update_frequency_values" |
| android:defaultValue="180" |
| android:negativeButtonText="@null" |
| android:positiveButtonText="@null" /> |
| |
| <!-- This preference simply launches an intent when selected. Use this UI sparingly, per |
| design guidelines. --> |
| <Preference android:title="@string/pref_title_system_sync_settings"> |
| <intent android:action="android.settings.SYNC_SETTINGS" /> |
| </Preference> |
| |
| </PreferenceScreen> |