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
|
2015-05-04 01:03:56 +02:00
|
|
|
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-09-16 00:53:54 +02:00
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="default"
|
2015-09-19 12:49:34 +02:00
|
|
|
android:key="audio_player"
|
2015-09-16 00:53:54 +02:00
|
|
|
android:title="@string/pref_title_audo_player" />
|
2015-05-01 00:56:16 +02:00
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
2015-05-04 01:03:56 +02:00
|
|
|
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"
|
2015-05-10 13:08:28 +02:00
|
|
|
android:summary="@string/pref_summary_datetime_syctimeonconnect"
|
2015-05-01 00:56:16 +02:00
|
|
|
android:title="@string/pref_title_datetime_syctimeonconnect" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
2015-05-04 01:03:56 +02:00
|
|
|
android:key="pref_key_notifications"
|
|
|
|
android:title="@string/pref_header_notifications">
|
2015-05-01 00:56:16 +02:00
|
|
|
|
2015-09-20 22:04:53 +02:00
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="always"
|
|
|
|
android:entries="@array/notification_mode_toggle"
|
|
|
|
android:entryValues="@array/notification_mode_values_toggle"
|
|
|
|
android:key="notification_mode_calls"
|
|
|
|
android:title="@string/pref_title_notifications_call" />
|
|
|
|
|
2015-05-04 01:03:56 +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
|
|
|
|
2015-05-04 01:03:56 +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" />
|
|
|
|
|
2015-05-04 01:03:56 +02:00
|
|
|
<ListPreference
|
2015-05-10 15:07:28 +02:00
|
|
|
android:defaultValue="when_screen_off"
|
2015-05-04 01:03:56 +02:00
|
|
|
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" />
|
2015-09-10 13:48:54 +02:00
|
|
|
<Preference
|
|
|
|
android:key="pref_key_blacklist"
|
|
|
|
android:title="@string/pref_blacklist" />
|
2015-12-13 12:03:57 +01:00
|
|
|
<PreferenceScreen
|
|
|
|
android:key="pref_key_canned_replies"
|
2016-01-11 15:29:12 +01:00
|
|
|
android:title="@string/pref_title_canned_replies">
|
|
|
|
<EditTextPreference
|
|
|
|
android:defaultValue=" (canned reply)"
|
|
|
|
android:key="canned_reply_suffix"
|
|
|
|
android:maxLength="64"
|
|
|
|
android:title="@string/pref_title_canned_reply_suffix" />
|
2015-12-13 12:03:57 +01:00
|
|
|
<EditTextPreference
|
|
|
|
android:key="canned_reply_1"
|
|
|
|
android:maxLength="64" />
|
|
|
|
<EditTextPreference
|
|
|
|
android:key="canned_reply_2"
|
|
|
|
android:maxLength="64" />
|
|
|
|
<EditTextPreference
|
|
|
|
android:key="canned_reply_3"
|
|
|
|
android:maxLength="64" />
|
|
|
|
<EditTextPreference
|
|
|
|
android:key="canned_reply_4"
|
|
|
|
android:maxLength="64" />
|
|
|
|
<EditTextPreference
|
|
|
|
android:key="canned_reply_5"
|
|
|
|
android:maxLength="64" />
|
|
|
|
<EditTextPreference
|
|
|
|
android:key="canned_reply_6"
|
|
|
|
android:maxLength="64" />
|
|
|
|
<EditTextPreference
|
|
|
|
android:key="canned_reply_7"
|
|
|
|
android:maxLength="64" />
|
|
|
|
<EditTextPreference
|
|
|
|
android:key="canned_reply_8"
|
|
|
|
android:maxLength="64" />
|
2015-12-17 00:05:42 +01:00
|
|
|
<EditTextPreference
|
|
|
|
android:key="canned_reply_9"
|
|
|
|
android:maxLength="64" />
|
|
|
|
<EditTextPreference
|
|
|
|
android:key="canned_reply_10"
|
|
|
|
android:maxLength="64" />
|
|
|
|
<EditTextPreference
|
|
|
|
android:key="canned_reply_11"
|
|
|
|
android:maxLength="64" />
|
|
|
|
<EditTextPreference
|
|
|
|
android:key="canned_reply_12"
|
|
|
|
android:maxLength="64" />
|
|
|
|
<EditTextPreference
|
|
|
|
android:key="canned_reply_13"
|
|
|
|
android:maxLength="64" />
|
|
|
|
<EditTextPreference
|
|
|
|
android:key="canned_reply_14"
|
|
|
|
android:maxLength="64" />
|
|
|
|
<EditTextPreference
|
|
|
|
android:key="canned_reply_15"
|
|
|
|
android:maxLength="64" />
|
|
|
|
<EditTextPreference
|
|
|
|
android:key="canned_reply_16"
|
|
|
|
android:maxLength="64" />
|
2015-12-13 12:03:57 +01:00
|
|
|
</PreferenceScreen>
|
2015-05-01 00:56:16 +02:00
|
|
|
</PreferenceCategory>
|
|
|
|
|
2016-02-02 14:32:19 +01:00
|
|
|
<PreferenceScreen
|
|
|
|
android:key="pref_category_activity_personal"
|
|
|
|
android:title="@string/activity_prefs_about_you">
|
|
|
|
|
|
|
|
<EditTextPreference
|
|
|
|
android:inputType="number"
|
2016-02-19 23:48:08 +01:00
|
|
|
android:key="activity_user_year_of_birth"
|
2016-02-02 14:32:19 +01:00
|
|
|
android:maxLength="4"
|
|
|
|
android:title="@string/activity_prefs_year_birth" />
|
|
|
|
|
|
|
|
<ListPreference
|
2016-02-21 13:04:32 +01:00
|
|
|
android:defaultValue="2"
|
2016-02-02 14:32:19 +01:00
|
|
|
android:entries="@array/gender"
|
|
|
|
android:entryValues="@array/gender_values"
|
2016-02-19 23:48:08 +01:00
|
|
|
android:key="activity_user_gender"
|
2016-02-02 14:32:19 +01:00
|
|
|
android:title="@string/activity_prefs_gender" />
|
|
|
|
|
|
|
|
<!--TODO: support localized heights and weights -->
|
|
|
|
<EditTextPreference
|
|
|
|
android:inputType="number"
|
2016-02-19 23:48:08 +01:00
|
|
|
android:key="activity_user_height_cm"
|
2016-02-02 14:32:19 +01:00
|
|
|
android:maxLength="3"
|
|
|
|
android:title="@string/activity_prefs_height_cm" />
|
|
|
|
|
|
|
|
<EditTextPreference
|
|
|
|
android:inputType="number"
|
2016-02-19 23:48:08 +01:00
|
|
|
android:key="activity_user_weight_kg"
|
2016-02-02 14:32:19 +01:00
|
|
|
android:maxLength="3"
|
|
|
|
android:title="@string/activity_prefs_weight_kg" />
|
2016-02-29 21:36:39 +01:00
|
|
|
|
|
|
|
<EditTextPreference
|
|
|
|
android:inputType="number"
|
|
|
|
android:key="activity_user_sleep_duration"
|
|
|
|
android:maxLength="2"
|
|
|
|
android:title="@string/activity_prefs_sleep_duration" />
|
2016-02-02 14:32:19 +01:00
|
|
|
</PreferenceScreen>
|
|
|
|
|
2015-05-07 01:30:40 +02:00
|
|
|
<PreferenceCategory
|
|
|
|
android:key="pref_key_device_specific_category"
|
|
|
|
android:title="@string/preferences_category_device_specific_settings">
|
|
|
|
<Preference
|
2015-06-20 23:22:22 +02:00
|
|
|
android:icon="@drawable/ic_device_miband"
|
2015-09-16 00:53:54 +02:00
|
|
|
android:key="pref_key_miband"
|
2015-05-07 01:30:40 +02:00
|
|
|
android:title="@string/preferences_miband_settings" />
|
2015-06-19 12:34:33 +02:00
|
|
|
<PreferenceScreen
|
2015-06-20 23:22:22 +02:00
|
|
|
android:icon="@drawable/ic_device_pebble"
|
2015-09-16 00:53:54 +02:00
|
|
|
android:key="pref_key_pebble"
|
|
|
|
android:title="@string/pref_title_pebble_settings">
|
2015-09-19 12:49:34 +02:00
|
|
|
<PreferenceCategory
|
|
|
|
android:key="pref_key_general"
|
|
|
|
android:title="@string/pref_header_general">
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="pebble_enable_pebblekit"
|
|
|
|
android:summary="@string/pref_summary_enable_pebblekit"
|
|
|
|
android:title="@string/pref_title_enable_pebblekit" />
|
|
|
|
<EditTextPreference
|
|
|
|
android:defaultValue="12"
|
|
|
|
android:inputType="number"
|
|
|
|
android:key="pebble_reconnect_attempts"
|
|
|
|
android:maxLength="4"
|
|
|
|
android:title="@string/pref_title_pebble_reconnect_attempts" />
|
2016-02-18 20:41:22 +01:00
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="4"
|
|
|
|
android:entries="@array/pebble_activitytracker"
|
|
|
|
android:entryValues="@array/pebble_activitytracker_values"
|
|
|
|
android:key="pebble_activitytracker"
|
|
|
|
android:title="@string/pref_title_pebble_activitytracker" />
|
2015-09-19 12:49:34 +02:00
|
|
|
</PreferenceCategory>
|
2015-06-19 12:34:33 +02:00
|
|
|
<PreferenceCategory
|
|
|
|
android:key="pref_key_development"
|
|
|
|
android:title="@string/pref_header_development">
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="pebble_force_protocol"
|
2015-09-16 00:53:54 +02:00
|
|
|
android:summary="@string/pref_summary_pebble_forceprotocol"
|
|
|
|
android:title="@string/pref_title_pebble_forceprotocol" />
|
2015-08-11 11:15:44 +02:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="pebble_force_untested"
|
2015-09-16 00:53:54 +02:00
|
|
|
android:summary="@string/pref_summary_pebble_forceuntested"
|
|
|
|
android:title="@string/pref_title_pebble_forceuntested" />
|
2015-08-19 00:03:52 +02:00
|
|
|
<EditTextPreference
|
|
|
|
android:digits="0123456789."
|
|
|
|
android:key="pebble_emu_addr"
|
|
|
|
android:maxLength="15"
|
|
|
|
android:title="Emulator IP" />
|
|
|
|
<EditTextPreference
|
|
|
|
android:inputType="number"
|
|
|
|
android:key="pebble_emu_port"
|
|
|
|
android:maxLength="5"
|
|
|
|
android:title="Emulator Port" />
|
2015-06-19 12:34:33 +02:00
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen>
|
2015-05-07 01:30:40 +02:00
|
|
|
</PreferenceCategory>
|
2015-05-23 00:45:12 +02:00
|
|
|
|
2015-06-13 00:58:23 +02:00
|
|
|
<PreferenceCategory
|
|
|
|
android:key="pref_key_development"
|
|
|
|
android:title="@string/pref_header_development">
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
2015-06-13 01:12:08 +02:00
|
|
|
android:key="log_to_file"
|
2015-06-13 00:58:23 +02:00
|
|
|
android:title="@string/pref_write_logfiles" />
|
|
|
|
</PreferenceCategory>
|
2015-05-10 13:08:28 +02:00
|
|
|
</PreferenceScreen>
|