2015-05-07 01:30:40 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2023-07-28 19:37:58 +02:00
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<Preference
|
|
|
|
android:icon="@drawable/ic_warning"
|
|
|
|
android:key="preferences_miband_1_2_warning"
|
|
|
|
android:summary="@string/preferences_miband_1_2_warning" />
|
|
|
|
|
2015-05-14 13:04:21 +02:00
|
|
|
<PreferenceCategory
|
|
|
|
android:key="pref_category_miband_notification"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:title="@string/pref_header_vibration_settings"
|
|
|
|
app:iconSpaceReserved="false">
|
2015-06-20 23:22:22 +02:00
|
|
|
|
|
|
|
<PreferenceScreen
|
2023-07-28 19:37:58 +02:00
|
|
|
android:icon="@drawable/ic_message_outline"
|
2015-06-20 23:22:22 +02:00
|
|
|
android:key="vibration_profile_key"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:persistent="false"
|
|
|
|
android:title="@string/pref_screen_notification_profile_sms">
|
2015-06-20 23:22:22 +02:00
|
|
|
|
2016-10-11 22:34:04 +02:00
|
|
|
<!-- workaround for missing toolbar -->
|
|
|
|
<PreferenceCategory
|
|
|
|
android:title="@string/pref_screen_notification_profile_sms"
|
2023-07-28 19:37:58 +02:00
|
|
|
app:iconSpaceReserved="false" />
|
2016-10-11 22:34:04 +02:00
|
|
|
|
2015-06-20 23:22:22 +02:00
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="@string/p_staccato"
|
|
|
|
android:entries="@array/vibration_profile"
|
|
|
|
android:entryValues="@array/vibration_profile_values"
|
2016-10-11 18:10:04 +02:00
|
|
|
android:key="mi_vibration_profile_generic_sms"
|
2016-04-14 16:44:44 +02:00
|
|
|
android:title="@string/miband_prefs_vibration"
|
2023-07-28 19:37:58 +02:00
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
2015-06-20 23:22:22 +02:00
|
|
|
|
|
|
|
<EditTextPreference
|
|
|
|
android:defaultValue="3"
|
|
|
|
android:inputType="number"
|
2016-10-11 18:10:04 +02:00
|
|
|
android:key="mi_vibration_count_generic_sms"
|
2015-06-20 23:22:22 +02:00
|
|
|
android:maxLength="1"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:title="@string/pref_title_notifications_repetitions"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
2016-10-09 00:10:53 +02:00
|
|
|
|
|
|
|
<Preference
|
2016-10-11 17:57:50 +02:00
|
|
|
android:key="mi_try_generic_sms"
|
2016-10-10 22:55:27 +02:00
|
|
|
android:persistent="false"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:title="@string/vibration_try"
|
|
|
|
app:iconSpaceReserved="false" />
|
2015-06-20 23:22:22 +02:00
|
|
|
</PreferenceScreen>
|
|
|
|
|
|
|
|
<PreferenceScreen
|
2023-07-28 19:37:58 +02:00
|
|
|
android:icon="@drawable/ic_phone"
|
2015-06-20 23:22:22 +02:00
|
|
|
android:key="vibration_profile_key"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:persistent="false"
|
|
|
|
android:title="@string/pref_screen_notification_profile_incoming_call">
|
2015-06-20 23:22:22 +02:00
|
|
|
|
2016-10-11 22:34:04 +02:00
|
|
|
<!-- workaround for missing toolbar -->
|
|
|
|
<PreferenceCategory
|
|
|
|
android:title="@string/pref_screen_notification_profile_incoming_call"
|
2023-07-28 19:37:58 +02:00
|
|
|
app:iconSpaceReserved="false" />
|
2016-10-11 22:34:04 +02:00
|
|
|
|
2015-06-20 23:22:22 +02:00
|
|
|
<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"
|
2023-07-28 19:37:58 +02:00
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
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"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:title="@string/pref_title_notifications_repetitions"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
2015-06-20 23:22:22 +02:00
|
|
|
</PreferenceScreen>
|
|
|
|
|
|
|
|
<PreferenceScreen
|
2023-07-28 19:37:58 +02:00
|
|
|
android:icon="@drawable/ic_email"
|
2015-06-20 23:22:22 +02:00
|
|
|
android:key="vibration_profile_key"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:persistent="false"
|
|
|
|
android:title="@string/pref_screen_notification_profile_email">
|
2015-06-20 23:22:22 +02:00
|
|
|
|
2016-10-11 22:34:04 +02:00
|
|
|
<!-- workaround for missing toolbar -->
|
|
|
|
<PreferenceCategory
|
|
|
|
android:title="@string/pref_screen_notification_profile_email"
|
2023-07-28 19:37:58 +02:00
|
|
|
app:iconSpaceReserved="false" />
|
2016-10-11 22:34:04 +02:00
|
|
|
|
2015-06-20 23:22:22 +02:00
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="@string/p_medium"
|
|
|
|
android:entries="@array/vibration_profile"
|
|
|
|
android:entryValues="@array/vibration_profile_values"
|
2016-10-11 18:10:04 +02:00
|
|
|
android:key="mi_vibration_profile_generic_email"
|
2016-04-14 16:44:44 +02:00
|
|
|
android:title="@string/miband_prefs_vibration"
|
2023-07-28 19:37:58 +02:00
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
2015-06-20 23:22:22 +02:00
|
|
|
|
|
|
|
<EditTextPreference
|
|
|
|
android:defaultValue="2"
|
|
|
|
android:inputType="number"
|
2016-10-11 18:10:04 +02:00
|
|
|
android:key="mi_vibration_count_generic_email"
|
2015-06-20 23:22:22 +02:00
|
|
|
android:maxLength="1"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:title="@string/pref_title_notifications_repetitions"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
2016-10-09 00:10:53 +02:00
|
|
|
<Preference
|
2016-10-11 18:12:43 +02:00
|
|
|
android:key="mi_try_generic_email"
|
2016-10-10 22:55:27 +02:00
|
|
|
android:persistent="false"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:title="@string/vibration_try"
|
|
|
|
app:iconSpaceReserved="false" />
|
2015-06-20 23:22:22 +02:00
|
|
|
</PreferenceScreen>
|
|
|
|
|
2016-10-09 00:10:53 +02:00
|
|
|
<PreferenceScreen
|
2023-07-28 19:37:58 +02:00
|
|
|
android:icon="@drawable/ic_message_outline"
|
2016-10-09 00:10:53 +02:00
|
|
|
android:key="vibration_profile_key"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:persistent="false"
|
|
|
|
android:title="@string/pref_screen_notification_profile_generic_chat">
|
2016-10-09 00:10:53 +02:00
|
|
|
|
2016-10-11 22:34:04 +02:00
|
|
|
<!-- workaround for missing toolbar -->
|
|
|
|
<PreferenceCategory
|
|
|
|
android:title="@string/pref_screen_notification_profile_generic_chat"
|
2023-07-28 19:37:58 +02:00
|
|
|
app:iconSpaceReserved="false" />
|
2016-10-11 22:34:04 +02:00
|
|
|
|
2016-10-09 00:10:53 +02:00
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="@string/p_waterdrop"
|
|
|
|
android:entries="@array/vibration_profile"
|
|
|
|
android:entryValues="@array/vibration_profile_values"
|
2016-10-11 18:10:04 +02:00
|
|
|
android:key="mi_vibration_profile_generic_chat"
|
2016-10-09 00:10:53 +02:00
|
|
|
android:title="@string/miband_prefs_vibration"
|
2023-07-28 19:37:58 +02:00
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
2016-10-09 00:10:53 +02:00
|
|
|
|
|
|
|
<EditTextPreference
|
|
|
|
android:defaultValue="3"
|
|
|
|
android:inputType="number"
|
2016-10-11 18:10:04 +02:00
|
|
|
android:key="mi_vibration_count_generic_chat"
|
2016-10-09 00:10:53 +02:00
|
|
|
android:maxLength="1"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:title="@string/pref_title_notifications_repetitions"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
2016-10-09 00:10:53 +02:00
|
|
|
<Preference
|
2016-10-11 17:57:50 +02:00
|
|
|
android:key="mi_try_generic_chat"
|
2016-10-10 22:55:27 +02:00
|
|
|
android:persistent="false"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:title="@string/vibration_try"
|
|
|
|
app:iconSpaceReserved="false" />
|
2016-10-09 00:10:53 +02:00
|
|
|
</PreferenceScreen>
|
|
|
|
|
|
|
|
<PreferenceScreen
|
2023-07-28 19:37:58 +02:00
|
|
|
android:icon="@drawable/ic_person"
|
2016-10-09 00:10:53 +02:00
|
|
|
android:key="vibration_profile_key"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:persistent="false"
|
|
|
|
android:title="@string/pref_screen_notification_profile_generic_social">
|
2016-10-09 00:10:53 +02:00
|
|
|
|
2016-10-11 22:34:04 +02:00
|
|
|
<!-- workaround for missing toolbar -->
|
|
|
|
<PreferenceCategory
|
|
|
|
android:title="@string/pref_screen_notification_profile_generic_social"
|
2023-07-28 19:37:58 +02:00
|
|
|
app:iconSpaceReserved="false" />
|
2016-10-11 22:34:04 +02:00
|
|
|
|
2016-10-09 00:10:53 +02:00
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="@string/p_waterdrop"
|
|
|
|
android:entries="@array/vibration_profile"
|
|
|
|
android:entryValues="@array/vibration_profile_values"
|
2016-10-11 15:20:55 +02:00
|
|
|
android:key="mi_vibration_profile_generic_social"
|
2016-10-09 00:10:53 +02:00
|
|
|
android:title="@string/miband_prefs_vibration"
|
2023-07-28 19:37:58 +02:00
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
2016-10-09 00:10:53 +02:00
|
|
|
|
|
|
|
<EditTextPreference
|
|
|
|
android:defaultValue="3"
|
|
|
|
android:inputType="number"
|
2016-10-11 15:20:55 +02:00
|
|
|
android:key="mi_vibration_count_generic_social"
|
2016-10-09 00:10:53 +02:00
|
|
|
android:maxLength="1"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:title="@string/pref_title_notifications_repetitions"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
2016-10-09 00:10:53 +02:00
|
|
|
<Preference
|
2016-10-11 15:20:55 +02:00
|
|
|
android:key="mi_try_generic_social"
|
2016-10-10 22:55:27 +02:00
|
|
|
android:persistent="false"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:title="@string/vibration_try"
|
|
|
|
app:iconSpaceReserved="false" />
|
2016-10-09 00:10:53 +02:00
|
|
|
</PreferenceScreen>
|
|
|
|
|
2017-02-07 23:49:10 +01:00
|
|
|
<PreferenceScreen
|
2023-07-28 19:37:58 +02:00
|
|
|
android:icon="@drawable/ic_access_alarms"
|
2017-02-07 23:49:10 +01:00
|
|
|
android:key="vibration_profile_key"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:persistent="false"
|
|
|
|
android:title="@string/pref_screen_notification_profile_alarm_clock">
|
2017-02-07 23:49:10 +01:00
|
|
|
|
|
|
|
<!-- workaround for missing toolbar -->
|
|
|
|
<PreferenceCategory
|
|
|
|
android:title="@string/pref_screen_notification_profile_alarm_clock"
|
2023-07-28 19:37:58 +02:00
|
|
|
app:iconSpaceReserved="false" />
|
2017-02-07 23:49:10 +01:00
|
|
|
|
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="@string/p_alarm_clock"
|
|
|
|
android:entries="@array/vibration_profile"
|
|
|
|
android:entryValues="@array/vibration_profile_values"
|
|
|
|
android:key="mi_vibration_profile_alarm_clock"
|
|
|
|
android:title="@string/miband_prefs_vibration"
|
2023-07-28 19:37:58 +02:00
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
2017-02-07 23:49:10 +01:00
|
|
|
|
|
|
|
<EditTextPreference
|
|
|
|
android:defaultValue="3"
|
|
|
|
android:inputType="number"
|
|
|
|
android:key="mi_vibration_count_alarm_clock"
|
|
|
|
android:maxLength="2"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:title="@string/pref_title_notifications_repetitions"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
2017-02-07 23:49:10 +01:00
|
|
|
<Preference
|
|
|
|
android:key="mi_try_generic_alarm_clock"
|
|
|
|
android:persistent="false"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:title="@string/vibration_try"
|
|
|
|
app:iconSpaceReserved="false" />
|
2017-02-07 23:49:10 +01:00
|
|
|
</PreferenceScreen>
|
|
|
|
|
2016-10-09 00:10:53 +02:00
|
|
|
<PreferenceScreen
|
2023-07-28 19:37:58 +02:00
|
|
|
android:icon="@drawable/ic_map"
|
2016-10-09 00:10:53 +02:00
|
|
|
android:key="vibration_profile_key"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:persistent="false"
|
|
|
|
android:title="@string/pref_screen_notification_profile_generic_navigation">
|
2016-10-09 00:10:53 +02:00
|
|
|
|
2016-10-11 22:34:04 +02:00
|
|
|
<!-- workaround for missing toolbar -->
|
|
|
|
<PreferenceCategory
|
|
|
|
android:title="@string/pref_screen_notification_profile_generic_navigation"
|
2023-07-28 19:37:58 +02:00
|
|
|
app:iconSpaceReserved="false" />
|
2016-10-11 22:34:04 +02:00
|
|
|
|
2016-10-09 00:10:53 +02:00
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="@string/p_waterdrop"
|
|
|
|
android:entries="@array/vibration_profile"
|
|
|
|
android:entryValues="@array/vibration_profile_values"
|
2016-10-11 15:20:55 +02:00
|
|
|
android:key="mi_vibration_profile_generic_navigation"
|
2016-10-09 00:10:53 +02:00
|
|
|
android:title="@string/miband_prefs_vibration"
|
2023-07-28 19:37:58 +02:00
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
2016-10-09 00:10:53 +02:00
|
|
|
|
|
|
|
<EditTextPreference
|
|
|
|
android:defaultValue="3"
|
|
|
|
android:inputType="number"
|
2016-10-11 15:20:55 +02:00
|
|
|
android:key="mi_vibration_count_generic_navigation"
|
2016-10-09 00:10:53 +02:00
|
|
|
android:maxLength="1"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:title="@string/pref_title_notifications_repetitions"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
2016-10-09 00:10:53 +02:00
|
|
|
<Preference
|
2016-10-11 15:20:55 +02:00
|
|
|
android:key="mi_try_generic_navigation"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:persistent="false"
|
|
|
|
android:title="@string/vibration_try"
|
|
|
|
app:iconSpaceReserved="false" />
|
2016-10-09 00:10:53 +02:00
|
|
|
</PreferenceScreen>
|
|
|
|
|
2015-06-20 23:22:22 +02:00
|
|
|
<PreferenceScreen
|
2023-07-28 19:37:58 +02:00
|
|
|
android:icon="@drawable/ic_notifications"
|
2015-06-20 23:22:22 +02:00
|
|
|
android:key="vibration_profile_key"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:persistent="false"
|
|
|
|
android:title="@string/pref_screen_notification_profile_generic">
|
2015-06-20 23:22:22 +02:00
|
|
|
|
2016-10-11 22:34:04 +02:00
|
|
|
<!-- workaround for missing toolbar -->
|
|
|
|
<PreferenceCategory
|
|
|
|
android:title="@string/pref_screen_notification_profile_generic"
|
2023-07-28 19:37:58 +02:00
|
|
|
app:iconSpaceReserved="false" />
|
2016-10-11 22:34:04 +02:00
|
|
|
|
2015-06-20 23:22:22 +02:00
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="@string/p_waterdrop"
|
|
|
|
android:entries="@array/vibration_profile"
|
|
|
|
android:entryValues="@array/vibration_profile_values"
|
2016-10-11 18:10:04 +02:00
|
|
|
android:key="mi_vibration_profile_generic"
|
2016-04-14 16:44:44 +02:00
|
|
|
android:title="@string/miband_prefs_vibration"
|
2023-07-28 19:37:58 +02:00
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
2015-06-20 23:22:22 +02:00
|
|
|
|
|
|
|
<EditTextPreference
|
|
|
|
android:defaultValue="3"
|
|
|
|
android:inputType="number"
|
2016-10-11 18:10:04 +02:00
|
|
|
android:key="mi_vibration_count_generic"
|
2015-06-20 23:22:22 +02:00
|
|
|
android:maxLength="1"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:title="@string/pref_title_notifications_repetitions"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
2016-10-09 00:10:53 +02:00
|
|
|
<Preference
|
2016-10-11 17:57:50 +02:00
|
|
|
android:key="mi_try_generic"
|
2016-10-10 22:55:27 +02:00
|
|
|
android:persistent="false"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:title="@string/vibration_try"
|
|
|
|
app:iconSpaceReserved="false" />
|
2015-06-20 23:22:22 +02:00
|
|
|
</PreferenceScreen>
|
|
|
|
|
2015-05-14 13:04:21 +02:00
|
|
|
</PreferenceCategory>
|
|
|
|
|
2015-06-13 00:58:23 +02:00
|
|
|
<PreferenceCategory
|
|
|
|
android:key="pref_key_development"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:title="@string/pref_header_development"
|
|
|
|
app:iconSpaceReserved="false">
|
|
|
|
<SwitchPreference
|
|
|
|
android:defaultValue="true"
|
2017-01-25 22:59:32 +01:00
|
|
|
android:key="mi_setup_bt_pairing"
|
|
|
|
android:summary="@string/pref_summary_setup_bt_pairing"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:title="@string/pref_title_setup_bt_pairing"
|
|
|
|
app:iconSpaceReserved="false" />
|
2015-06-13 00:58:23 +02:00
|
|
|
<EditTextPreference
|
|
|
|
android:digits="0123456789ABCDEF:"
|
|
|
|
android:key="development_miaddr"
|
|
|
|
android:maxLength="17"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:title="@string/pref_title_development_miaddr"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
<SwitchPreference
|
|
|
|
android:defaultValue="false"
|
2015-09-07 12:06:56 +02:00
|
|
|
android:key="mi_dont_ack_transfer"
|
2015-10-19 23:36:10 +02:00
|
|
|
android:summary="@string/pref_summary_keep_data_on_device"
|
2023-07-28 19:37:58 +02:00
|
|
|
android:title="@string/pref_title_keep_data_on_device"
|
|
|
|
app:iconSpaceReserved="false" />
|
2015-06-13 00:58:23 +02:00
|
|
|
</PreferenceCategory>
|
2015-05-07 01:30:40 +02:00
|
|
|
</PreferenceScreen>
|