1
0
mirror of https://github.com/nerzhul/ownCloud-SMS-App.git synced 2026-08-24 22:55:37 +00:00

Add a new preference to select on which network synchronize

This commit is contained in:
Loic Blot
2015-03-21 21:51:10 +01:00
parent b8506fffd1
commit 810567c237
7 changed files with 127 additions and 11 deletions
+38 -1
View File
@@ -2,12 +2,49 @@
<PreferenceCategory
android:title="@string/summary_global_pref_to_general_prefs">
<ListPreference
android:defaultValue="10"
android:defaultValue="15"
android:entries="@array/pref_sync_frequency_titles"
android:entryValues="@array/pref_sync_frequency_values"
android:key="sync_frequency"
android:negativeButtonText="@null"
android:positiveButtonText="@null"
android:title="@string/pref_title_sync_frequency" />
<CheckBoxPreference android:id="@+id/checkbox_sync_wifi"
android:defaultValue="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:key="sync_wifi"
android:title="@string/pref_sync_wifi" />
<CheckBoxPreference android:id="@+id/checkbox_sync_4g"
android:defaultValue="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:key="sync_4g"
android:title="@string/pref_sync_4g" />
<CheckBoxPreference android:id="@+id/checkbox_sync_3g"
android:defaultValue="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:key="sync_3g"
android:title="@string/pref_sync_3g" />
<CheckBoxPreference android:id="@+id/checkbox_sync_2g"
android:defaultValue="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:key="sync_2g"
android:title="@string/pref_sync_2g" />
<CheckBoxPreference android:id="@+id/checkbox_sync_gprs"
android:defaultValue="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:key="sync_gprs"
android:title="@string/pref_sync_gprs" />
<CheckBoxPreference android:id="@+id/checkbox_sync_others"
android:defaultValue="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:key="sync_others"
android:title="@string/pref_sync_others" />
</PreferenceCategory>
</PreferenceScreen>