1
0
mirror of https://github.com/nerzhul/ownCloud-SMS-App.git synced 2025-10-30 18:07:51 +00:00
ownCloud-SMS-App/src/main/res/xml/pref_data_sync.xml
2017-06-06 23:50:20 +02:00

79 lines
3.4 KiB
XML

<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
<PreferenceCategory
android:title="@string/summary_global_pref_to_general_prefs">
<ListPreference
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" />
<ListPreference
android:defaultValue="1000"
android:entries="@array/pref_sync_bulk_max_messages_titles"
android:entryValues="@array/pref_sync_bulk_max_messages"
android:key="sync_bulk_messages"
android:negativeButtonText="@null"
android:positiveButtonText="@null"
android:title="@string/pref_title_bulk_messages" />
<ListPreference
android:defaultValue="0"
android:entries="@array/pref_minimum_sync_chars_titles"
android:entryValues="@array/pref_minimum_sync_chars"
android:key="minimum_sync_chars"
android:negativeButtonText="@null"
android:positiveButtonText="@null"
android:title="@string/pref_title_minimum_sync_chars" />
<CheckBoxPreference android:id="@+id/checkbox_push_on_receive"
android:defaultValue="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:key="push_on_receive"
android:title="@string/pref_push_on_receive" />
<CheckBoxPreference android:id="@+id/checkbox_show_sync_notifications"
android:defaultValue="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:key="show_sync_notifications"
android:title="@string/pref_show_sync_notifications" />
<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>