AndroidAPS/app/src/main/res/xml/pref_absorption_aaps.xml

75 lines
3.3 KiB
XML
Raw Normal View History

2017-06-25 11:16:19 +02:00
<?xml version="1.0" encoding="utf-8"?>
2020-01-09 21:41:02 +01:00
<androidx.preference.PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:validate="http://schemas.android.com/apk/res-auto"
xmlns:app="http://schemas.android.com/apk/res-auto">
2018-04-24 00:11:52 +02:00
2017-06-25 11:16:19 +02:00
<PreferenceCategory
2021-02-15 19:36:29 +01:00
android:key="@string/key_absorption_settings"
2020-01-09 21:41:02 +01:00
android:title="@string/absorptionsettings_title"
app:initialExpandedChildrenCount="0">
2018-04-24 00:11:52 +02:00
<info.nightscout.androidaps.utils.textValidator.ValidatingEditTextPreference
2018-04-19 11:48:00 +02:00
android:defaultValue="6"
2018-04-24 00:11:52 +02:00
android:dialogMessage="@string/absorption_maxtime_summary"
android:digits="0123456789.,"
2017-06-25 11:16:19 +02:00
android:inputType="number"
2018-04-24 00:11:52 +02:00
android:key="@string/key_absorption_maxtime"
2017-06-25 11:16:19 +02:00
android:maxLines="20"
2018-04-24 00:11:52 +02:00
android:selectAllOnFocus="true"
2017-06-25 11:16:19 +02:00
android:title="@string/absorption_maxtime_title"
2018-04-24 00:11:52 +02:00
validate:maxNumber="10"
validate:minNumber="4"
validate:testType="numericRange" />
2017-06-25 11:16:19 +02:00
<info.nightscout.androidaps.utils.textValidator.ValidatingEditTextPreference
2017-06-25 11:16:19 +02:00
android:defaultValue="24"
android:dialogMessage="@string/openapsama_autosens_period_summary"
android:digits="0123456789"
android:inputType="number"
android:key="@string/key_openapsama_autosens_period"
android:maxLines="20"
android:selectAllOnFocus="true"
android:singleLine="true"
2018-04-24 00:11:52 +02:00
android:title="@string/openapsama_autosens_period"
validate:maxNumber="24"
validate:minNumber="4"
validate:testType="numericRange" />
<androidx.preference.PreferenceScreen
android:key="absorption_aaps_advanced"
android:title="@string/advancedsettings_title">
2018-04-24 00:11:52 +02:00
<info.nightscout.androidaps.utils.textValidator.ValidatingEditTextPreference
2018-04-24 00:11:52 +02:00
android:defaultValue="1.2"
android:dialogMessage="@string/openapsama_autosens_max_summary"
android:digits="0123456789.,"
android:inputType="numberDecimal"
android:key="@string/key_openapsama_autosens_max"
android:maxLines="20"
android:selectAllOnFocus="true"
android:singleLine="true"
android:title="@string/openapsama_autosens_max"
validate:floatmaxNumber="3"
validate:floatminNumber="0.5"
validate:testType="floatNumericRange" />
<info.nightscout.androidaps.utils.textValidator.ValidatingEditTextPreference
2018-04-24 00:11:52 +02:00
android:defaultValue="0.7"
android:dialogMessage="@string/openapsama_autosens_min_summary"
android:inputType="numberDecimal"
android:key="@string/key_openapsama_autosens_min"
android:maxLines="20"
android:selectAllOnFocus="true"
android:singleLine="true"
android:title="@string/openapsama_autosens_min"
validate:floatmaxNumber="1.0"
validate:floatminNumber="0.1"
validate:testType="floatNumericRange" />
</androidx.preference.PreferenceScreen>
2017-06-25 11:16:19 +02:00
</PreferenceCategory>
2018-04-24 00:11:52 +02:00
</androidx.preference.PreferenceScreen>