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

60 lines
2.4 KiB
XML
Raw Normal View History

<?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
<PreferenceCategory
2020-01-09 21:41:02 +01:00
android:title="@string/danar_pump_settings"
app:initialExpandedChildrenCount="0">
2019-02-26 20:38:27 +01:00
<info.nightscout.androidaps.plugins.pump.danaR.BluetoothDevicePreference
android:dialogTitle="@string/danar_bt_name_title"
2017-02-17 16:16:20 +01:00
android:key="@string/key_danar_bt_name"
android:title="@string/danar_bt_name_title" />
2017-10-10 19:14:43 +02:00
2020-01-09 21:41:02 +01:00
<info.nightscout.androidaps.utils.textValidator.ValidatingEditTextPreference
2018-04-24 00:11:52 +02:00
android:inputType="numberPassword"
2017-02-17 16:16:20 +01:00
android:key="@string/key_danar_password"
2020-01-09 21:41:02 +01:00
android:title="@string/danar_password_title"
validate:customRegexp="@string/fourdigitnumber"
validate:testErrorString="@string/error_mustbe4digitnumber"
validate:testType="regexp" />
2017-10-10 19:14:43 +02:00
<ListPreference
android:defaultValue="0"
android:entries="@array/danaSpeedArray"
2018-04-24 00:11:52 +02:00
android:entryValues="@array/danaSpeedValues"
android:key="@string/key_danars_bolusspeed"
android:title="@string/bolusspeed" />
2017-10-10 19:14:43 +02:00
<SwitchPreference
android:defaultValue="false"
2017-02-17 16:16:20 +01:00
android:key="@string/key_danar_useextended"
android:title="@string/danar_useextended_title" />
2017-10-10 19:14:43 +02:00
<SwitchPreference
android:defaultValue="false"
android:dependency="@string/key_danar_useextended"
android:key="@string/key_danar_visualizeextendedaspercentage"
android:title="@string/danar_visualizeextendedaspercentage_title" />
2017-10-10 19:14:43 +02:00
<androidx.preference.PreferenceScreen
android:key="absorption_danar_advanced"
android:title="@string/advancedsettings_title">
2018-04-24 00:11:52 +02:00
2020-01-09 21:41:02 +01:00
<PreferenceCategory
android:title="@string/bluetooth">
2018-04-24 00:11:52 +02:00
<SwitchPreference
android:defaultValue="false"
android:key="@string/key_btwatchdog"
android:summary="@string/btwatchdog_summary"
android:title="@string/btwatchdog_title" />
</PreferenceCategory>
</androidx.preference.PreferenceScreen>
2018-04-24 00:11:52 +02:00
</PreferenceCategory>
</androidx.preference.PreferenceScreen>