diff options
author | Scott Jackson <daneren2005@gmail.com> | 2015-11-27 11:53:21 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2015-11-27 11:53:21 -0800 |
commit | 32e04ec3166362b3232d72232a66f2cc1f0ab0a3 (patch) | |
tree | be5ff34f945e84aae4d5546fbf678f6879508457 /app/src/main/res/xml/settings_sync.xml | |
parent | e09c70e5d112bd6b7142892b25697212a745e963 (diff) | |
download | dsub-32e04ec3166362b3232d72232a66f2cc1f0ab0a3.tar.gz dsub-32e04ec3166362b3232d72232a66f2cc1f0ab0a3.tar.bz2 dsub-32e04ec3166362b3232d72232a66f2cc1f0ab0a3.zip |
#580, #596 Make setting open up a normal new fragment
Diffstat (limited to 'app/src/main/res/xml/settings_sync.xml')
-rw-r--r-- | app/src/main/res/xml/settings_sync.xml | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/app/src/main/res/xml/settings_sync.xml b/app/src/main/res/xml/settings_sync.xml new file mode 100644 index 00000000..1fad10de --- /dev/null +++ b/app/src/main/res/xml/settings_sync.xml @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="utf-8"?> +<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:myns="http://schemas.android.com/apk/res/github.daneren2005.dsub" + android:title="@string/settings.sync_title"> + + <PreferenceCategory + android:title="@string/settings.sync_title"> + + <CheckBoxPreference + android:title="@string/settings.sync_enabled" + android:summary="@string/settings.sync_enabled_summary" + android:key="syncEnabled" + android:defaultValue="true"/> + + <ListPreference + android:title="@string/settings.sync_interval" + android:key="syncInterval" + android:defaultValue="60" + android:entryValues="@array/syncIntervalValues" + android:entries="@array/syncIntervalNames"/> + + <CheckBoxPreference + android:title="@string/settings.sync_wifi" + android:summary="@string/settings.sync_wifi_summary" + android:key="syncWifi" + android:defaultValue="true"/> + + <CheckBoxPreference + android:title="@string/settings.sync_notification" + android:summary="@string/settings.sync_notification_summary" + android:key="syncNotification" + android:defaultValue="true"/> + </PreferenceCategory> + + <PreferenceCategory + android:title="@string/settings.other_title"> + + <CheckBoxPreference + android:title="@string/settings.sync_starred" + android:summary="@string/settings.sync_starred_summary" + android:key="syncStarred" + android:defaultValue="false"/> + + <CheckBoxPreference + android:title="@string/settings.sync_most_recent" + android:summary="@string/settings.sync_most_recent_summary" + android:key="syncMostRecent" + android:defaultValue="false"/> + </PreferenceCategory> +</PreferenceScreen>
\ No newline at end of file |