2019-09-08 16:11:18 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<PreferenceCategory
|
|
|
|
android:key="pref_charts"
|
|
|
|
android:title="@string/activity_prefs_charts">
|
|
|
|
|
|
|
|
<EditTextPreference
|
2020-11-14 10:06:55 +01:00
|
|
|
android:defaultValue="250"
|
2019-09-08 16:11:18 +02:00
|
|
|
android:inputType="number"
|
|
|
|
android:key="chart_max_heart_rate"
|
|
|
|
android:maxLength="3"
|
|
|
|
android:title="@string/activity_prefs_chart_max_heart_rate" />
|
|
|
|
|
|
|
|
<EditTextPreference
|
2020-11-14 10:06:55 +01:00
|
|
|
android:defaultValue="10"
|
2019-09-08 16:11:18 +02:00
|
|
|
android:inputType="number"
|
|
|
|
android:key="chart_min_heart_rate"
|
|
|
|
android:maxLength="3"
|
|
|
|
android:title="@string/activity_prefs_chart_min_heart_rate" />
|
2019-10-24 21:48:51 +02:00
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="chart_heartrate_color"
|
2020-11-14 10:06:55 +01:00
|
|
|
android:layout="@layout/preference_checkbox"
|
2019-10-24 21:48:51 +02:00
|
|
|
android:summaryOff="@string/pref_chart_heartrate_color_orange"
|
|
|
|
android:summaryOn="@string/pref_chart_heartrate_color_red"
|
|
|
|
android:title="@string/pref_title_chart_heartrate_color" />
|
|
|
|
|
2019-09-08 16:11:18 +02:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="charts_allow_swipe"
|
2020-11-14 10:06:55 +01:00
|
|
|
android:layout="@layout/preference_checkbox"
|
2019-09-08 16:11:18 +02:00
|
|
|
android:title="@string/pref_title_charts_swipe" />
|
2019-10-26 10:39:15 +02:00
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="chart_sleep_range_24h"
|
2020-11-14 10:06:55 +01:00
|
|
|
android:layout="@layout/preference_checkbox"
|
2019-10-26 10:39:15 +02:00
|
|
|
android:summaryOff="@string/pref_chart_sleep_rolling_24_off"
|
|
|
|
android:summaryOn="@string/pref_chart_sleep_rolling_24_on"
|
|
|
|
android:title="@string/pref_title_chart_sleep_rolling_24_hour" />
|
|
|
|
|
2019-09-08 16:11:18 +02:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="charts_show_average"
|
2020-11-14 10:06:55 +01:00
|
|
|
android:layout="@layout/preference_checkbox"
|
2019-09-08 16:11:18 +02:00
|
|
|
android:title="@string/pref_title_charts_average" />
|
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="charts_range"
|
2020-11-14 10:06:55 +01:00
|
|
|
android:layout="@layout/preference_checkbox"
|
2019-09-08 16:11:18 +02:00
|
|
|
android:summaryOff="@string/pref_charts_range_off"
|
|
|
|
android:summaryOn="@string/pref_charts_range_on"
|
|
|
|
android:title="@string/pref_title_charts_range" />
|
2020-10-08 23:37:23 +02:00
|
|
|
</PreferenceCategory>
|
2020-11-14 10:06:55 +01:00
|
|
|
|
2020-10-08 23:37:23 +02:00
|
|
|
<PreferenceCategory
|
|
|
|
android:key="pref_charts_activity_list"
|
|
|
|
android:title="@string/charts_activity_list">
|
|
|
|
|
|
|
|
<EditTextPreference
|
2020-10-11 09:24:57 +02:00
|
|
|
android:defaultValue="5"
|
2020-10-08 23:37:23 +02:00
|
|
|
android:inputType="number"
|
|
|
|
android:key="chart_list_min_session_length"
|
|
|
|
android:maxLength="2"
|
|
|
|
android:title="@string/activity_prefs_chart_min_session_length" />
|
2019-10-26 10:39:15 +02:00
|
|
|
|
2020-10-08 23:37:23 +02:00
|
|
|
<EditTextPreference
|
2020-10-11 09:24:57 +02:00
|
|
|
android:defaultValue="5"
|
2020-10-08 23:37:23 +02:00
|
|
|
android:inputType="number"
|
|
|
|
android:key="chart_list_max_idle_phase_length"
|
|
|
|
android:maxLength="2"
|
|
|
|
android:title="@string/activity_prefs_chart_max_idle_phase_length" />
|
2019-10-26 10:39:15 +02:00
|
|
|
|
2020-10-08 23:37:23 +02:00
|
|
|
<EditTextPreference
|
2020-10-12 23:10:59 +02:00
|
|
|
android:defaultValue="20"
|
2020-10-08 23:37:23 +02:00
|
|
|
android:inputType="number"
|
|
|
|
android:key="chart_list_min_steps_per_minute"
|
|
|
|
android:maxLength="3"
|
|
|
|
android:title="@string/activity_prefs_chart_min_steps_per_minute" />
|
|
|
|
|
|
|
|
<EditTextPreference
|
2020-10-11 09:24:57 +02:00
|
|
|
android:defaultValue="120"
|
2020-10-08 23:37:23 +02:00
|
|
|
android:inputType="number"
|
|
|
|
android:key="chart_list_min_steps_per_minute_for_run"
|
|
|
|
android:maxLength="3"
|
|
|
|
android:title="@string/activity_prefs_chart_min_steps_per_minute_for_run" />
|
2019-09-08 16:11:18 +02:00
|
|
|
</PreferenceCategory>
|
2020-10-08 23:37:23 +02:00
|
|
|
|
2020-11-14 10:06:55 +01:00
|
|
|
<PreferenceCategory
|
|
|
|
android:key="pref_category_activity_personal_title"
|
|
|
|
android:title="@string/activity_prefs_about_you">
|
|
|
|
|
|
|
|
<Preference
|
|
|
|
android:key="pref_category_activity_personal"
|
|
|
|
android:title="@string/activity_prefs_about_you" />
|
|
|
|
</PreferenceCategory>
|
2019-09-08 16:11:18 +02:00
|
|
|
</PreferenceScreen>
|