2015-05-07 01:30:40 +02:00
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android= "http://schemas.android.com/apk/res/android" >
2016-02-02 14:32:19 +01:00
<!-- TODO: this is actually "about your miband" and possibly refers to a single device (if the owner has multiple mibands, it may be that they are worn on different arms -->
2015-05-07 01:30:40 +02:00
<PreferenceCategory
android:key="pref_category_miband_personal"
2016-02-02 14:32:19 +01:00
android:title="@string/activity_prefs_about_you">
2015-05-07 01:30:40 +02:00
<EditTextPreference
android:key="mi_user_alias"
android:maxLength="17"
2015-05-09 21:43:04 +02:00
android:title="@string/miband_prefs_alias" />
2015-05-07 01:30:40 +02:00
2015-06-20 23:22:22 +02:00
<ListPreference
android:defaultValue="left"
android:entries="@array/wearside"
android:entryValues="@array/wearside_values"
android:key="mi_wearside"
2016-04-14 16:44:44 +02:00
android:title="@string/miband_prefs_wearside"
android:summary="%s" />
2015-07-29 18:49:16 +02:00
<EditTextPreference
android:defaultValue="10000"
android:inputType="number"
android:key="mi_fitness_goal"
android:maxLength="5"
android:title="@string/miband_prefs_fitness_goal" />
2015-12-17 16:11:35 +01:00
<EditTextPreference
android:defaultValue="0"
android:inputType="number"
android:key="mi_reserve_alarm_calendar"
android:maxLength="1"
android:digits="0123"
android:title="@string/miband_prefs_reserve_alarm_calendar" />
2016-04-02 16:09:30 +02:00
<CheckBoxPreference
android:defaultValue="false"
android:key="mi_hr_sleep_detection"
android:title="@string/miband_prefs_hr_sleep_detection" />
2015-05-07 01:30:40 +02:00
</PreferenceCategory>
2015-05-14 13:04:21 +02:00
<PreferenceCategory
android:key="pref_category_miband_notification"
2015-06-20 23:22:22 +02:00
android:title="@string/pref_header_vibration_settings">
<PreferenceScreen
android:key="vibration_profile_key"
android:title="@string/pref_screen_notification_profile_sms"
android:persistent="false">
<ListPreference
android:defaultValue="@string/p_staccato"
android:entries="@array/vibration_profile"
android:entryValues="@array/vibration_profile_values"
android:key="mi_vibration_profile_sms"
2016-04-14 16:44:44 +02:00
android:title="@string/miband_prefs_vibration"
android:summary="%s" />
2015-06-20 23:22:22 +02:00
<EditTextPreference
android:defaultValue="3"
android:inputType="number"
android:key="mi_vibration_count_sms"
android:maxLength="1"
android:title="@string/pref_title_notifications_repetitions" />
</PreferenceScreen>
<PreferenceScreen
android:key="vibration_profile_key"
android:title="@string/pref_screen_notification_profile_incoming_call"
android:persistent="false">
<ListPreference
android:defaultValue="@string/p_ring"
android:entries="@array/vibration_profile"
android:entryValues="@array/vibration_profile_values"
android:key="mi_vibration_profile_incoming_call"
2016-04-14 16:44:44 +02:00
android:title="@string/miband_prefs_vibration"
android:summary="%s" />
2015-06-20 23:22:22 +02:00
<EditTextPreference
android:defaultValue="60"
android:inputType="number"
android:key="mi_vibration_count_incoming_call"
2016-04-25 00:13:09 +02:00
android:maxLength="2"
2015-06-20 23:22:22 +02:00
android:title="@string/pref_title_notifications_repetitions" />
</PreferenceScreen>
<PreferenceScreen
android:key="vibration_profile_key"
android:title="@string/pref_screen_notification_profile_k9mail"
android:persistent="false">
<ListPreference
android:defaultValue="@string/p_medium"
android:entries="@array/vibration_profile"
android:entryValues="@array/vibration_profile_values"
android:key="mi_vibration_profile_k9mail"
2016-04-14 16:44:44 +02:00
android:title="@string/miband_prefs_vibration"
android:summary="%s" />
2015-06-20 23:22:22 +02:00
<EditTextPreference
android:defaultValue="2"
android:inputType="number"
android:key="mi_vibration_count_k9mail"
android:maxLength="1"
android:title="@string/pref_title_notifications_repetitions" />
</PreferenceScreen>
<PreferenceScreen
android:key="vibration_profile_key"
android:title="@string/pref_screen_notification_profile_pebblemsg"
android:persistent="false">
<ListPreference
android:defaultValue="@string/p_short"
android:entries="@array/vibration_profile"
android:entryValues="@array/vibration_profile_values"
android:key="mi_vibration_profile_pebblemsg"
2016-04-14 16:44:44 +02:00
android:title="@string/miband_prefs_vibration"
android:summary="%s" />
2015-06-20 23:22:22 +02:00
<EditTextPreference
android:defaultValue="1"
android:inputType="number"
android:key="mi_vibration_count_pebblemsg"
android:maxLength="1"
android:title="@string/pref_title_notifications_repetitions" />
</PreferenceScreen>
<PreferenceScreen
android:key="vibration_profile_key"
android:title="@string/pref_screen_notification_profile_generic"
android:persistent="false">
<ListPreference
android:defaultValue="@string/p_waterdrop"
android:entries="@array/vibration_profile"
android:entryValues="@array/vibration_profile_values"
android:key="mi_vibration_profile_generic"
2016-04-14 16:44:44 +02:00
android:title="@string/miband_prefs_vibration"
android:summary="%s" />
2015-06-20 23:22:22 +02:00
<EditTextPreference
android:defaultValue="3"
android:inputType="number"
android:key="mi_vibration_count_generic"
android:maxLength="1"
android:title="@string/pref_title_notifications_repetitions" />
</PreferenceScreen>
2015-05-14 13:04:21 +02:00
</PreferenceCategory>
2015-06-13 00:58:23 +02:00
<PreferenceCategory
android:key="pref_key_development"
android:title="@string/pref_header_development">
<EditTextPreference
android:digits="0123456789ABCDEF:"
android:key="development_miaddr"
android:maxLength="17"
android:title="@string/pref_title_development_miaddr" />
2015-09-07 12:06:56 +02:00
<CheckBoxPreference
android:key="mi_dont_ack_transfer"
2015-10-19 23:36:10 +02:00
android:title="@string/pref_title_keep_data_on_device"
android:summary="@string/pref_summary_keep_data_on_device"
2015-09-07 12:06:56 +02:00
android:defaultValue="false" />
2016-05-04 13:24:32 +02:00
<CheckBoxPreference
android:key="mi_low_latency_fw_update"
android:title="@string/pref_title_low_latency_fw_update"
android:summary="@string/pref_summary_low_latency_fw_update"
2016-05-15 00:21:55 +02:00
android:defaultValue="true" />
2015-06-13 00:58:23 +02:00
</PreferenceCategory>
2015-05-07 01:30:40 +02:00
</PreferenceScreen>