AndroidAPS/app/src/main/res/xml/pref_medtronic.xml
Andy Rozman 2cc4fe4450 Added options Max Bolus and Max Basal
Little bit of refactoring in Medtronic code
2018-05-12 00:41:44 +01:00

65 lines
2.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:tools="http://schemas.android.com/tools"
xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory
android:title="@string/medtronic_name">
<EditTextPreference
android:defaultValue="000000"
android:key="pref_medtronic_serial"
android:selectAllOnFocus="true"
android:singleLine="false"
android:title="@string/medtronic_serial_number" />
<ListPreference
android:defaultValue="1"
android:entries="@array/medtronicPumpTypeArray"
android:entryValues="@array/medtronicPumpTypeArray"
android:key="pref_medtronic_pump_type"
android:title="@string/medtronic_pump_type" />
<ListPreference
android:defaultValue="1"
android:entries="@array/medtronicPumpFreqArray"
android:entryValues="@array/medtronicPumpFreqArray"
android:key="pref_medtronic_frequency"
android:selectable="true"
android:title="@string/medtronic_pump_frequency" />
<EditTextPreference
android:defaultValue="35"
android:key="pref_medtronic_max_basal"
android:selectAllOnFocus="true"
android:singleLine="true"
android:inputType="number"
android:title="@string/medtronic_pump_max_basal" />
<EditTextPreference
android:defaultValue="25"
android:key="pref_medtronic_max_bolus"
android:selectAllOnFocus="true"
android:singleLine="true"
android:inputType="number"
android:title="@string/medtronic_pump_max_bolus" />
<Preference
android:enabled="false"
android:key="rileylink_scanner"
android:title="RileyLink Configuration">
<intent android:action="info.nightscout.androidaps.plugins.PumpDanaRS.activities.BLEScanActivity" />
</Preference>
<EditTextPreference
android:defaultValue="xx:xx:xx:xx:xx:xx"
android:editable="false"
android:inputType="textFilter"
android:key="pref_medtronic_rileylink_mac"
android:selectAllOnFocus="true"
android:singleLine="true"
android:title="@string/medtronic_rileylink_mac_address" />
</PreferenceCategory>
</PreferenceScreen>