Gadgetbridge/app/src/main/res/xml/preferences.xml

72 lines
3.0 KiB
XML
Raw Normal View History

2015-05-01 00:56:16 +02:00
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory
android:key="pref_key_general"
android:title="@string/pref_header_general">
<CheckBoxPreference
android:defaultValue="false"
android:key="general_autoconnectonbluetooth"
android:title="@string/pref_title_general_autoconnectonbluetooth" />
2015-05-01 00:56:16 +02:00
</PreferenceCategory>
<PreferenceCategory
android:key="pref_key_datetime"
android:title="@string/pref_header_datetime">
2015-05-01 00:56:16 +02:00
<CheckBoxPreference
android:defaultValue="true"
android:key="datetime_synconconnect"
android:title="@string/pref_title_datetime_syctimeonconnect" />
</PreferenceCategory>
<PreferenceCategory
android:key="pref_key_notifications"
android:title="@string/pref_header_notifications">
2015-05-01 00:56:16 +02:00
<ListPreference
android:defaultValue="when_screen_off"
android:entries="@array/notification_mode"
android:entryValues="@array/notification_mode_values"
android:key="notification_mode_sms"
android:title="@string/pref_title_notifications_sms" />
2015-05-01 00:56:16 +02:00
<ListPreference
android:defaultValue="when_screen_off"
android:entries="@array/notification_mode"
android:entryValues="@array/notification_mode_values"
android:key="notification_mode_k9mail"
2015-05-01 00:56:16 +02:00
android:title="@string/pref_title_notifications_k9mail" />
<ListPreference
android:defaultValue="never"
android:entries="@array/notification_mode"
android:entryValues="@array/notification_mode_values"
android:key="notification_mode_pebblemsg"
android:summary="@string/pref_summary_notifications_pebblemsg"
android:title="@string/pref_title_notifications_pebblemsg" />
2015-05-01 00:56:16 +02:00
<Preference
android:key="notifications_generic"
android:title="@string/pref_title_notifications_generic" />
<CheckBoxPreference
android:defaultValue="false"
android:key="notifications_generic_whenscreenon"
android:title="@string/pref_title_whenscreenon" />
</PreferenceCategory>
<PreferenceCategory
android:key="pref_key_device_specific_category"
android:title="@string/preferences_category_device_specific_settings">
<Preference
android:key="pref_key_miband"
android:title="@string/preferences_miband_settings" />
</PreferenceCategory>
2015-05-01 00:56:16 +02:00
<PreferenceCategory
android:key="pref_key_development"
android:title="@string/pref_header_development">
2015-05-01 00:56:16 +02:00
<EditTextPreference
android:digits="0123456789ABCDEF:"
android:key="development_miaddr"
android:maxLength="17"
android:title="@string/pref_title_development_miaddr" />
2015-05-01 00:56:16 +02:00
</PreferenceCategory>
</PreferenceScreen>