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

70 lines
2.9 KiB
XML
Raw Normal View History

2017-06-25 11:16:19 +02:00
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:validate="http://schemas.android.com/apk/res-auto">
2018-04-24 00:11:52 +02:00
2017-06-25 11:16:19 +02:00
<PreferenceCategory
android:key="absorption"
android:title="@string/absorptionsettings_title">
2018-04-24 00:11:52 +02:00
2017-06-25 11:16:19 +02:00
<com.andreabaccega.widget.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
<com.andreabaccega.widget.ValidatingEditTextPreference
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" />
<PreferenceScreen android:title="@string/advancedsettings_title">
<com.andreabaccega.widget.ValidatingEditTextPreference
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" />
<com.andreabaccega.widget.ValidatingEditTextPreference
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" />
</PreferenceScreen>
2017-06-25 11:16:19 +02:00
</PreferenceCategory>
2018-04-24 00:11:52 +02:00
2017-06-25 11:16:19 +02:00
</PreferenceScreen>