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

32 lines
1.5 KiB
XML
Raw Normal View History

2016-07-14 23:29:21 +02:00
<?xml version="1.0" encoding="utf-8"?>
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
2020-01-09 21:41:02 +01:00
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:validate="http://schemas.android.com/apk/res-auto">
2020-01-09 21:41:02 +01:00
2016-07-14 23:29:21 +02:00
<PreferenceCategory
2020-01-09 21:41:02 +01:00
android:title="@string/smscommunicator"
app:initialExpandedChildrenCount="0">
2016-07-14 23:29:21 +02:00
2020-01-09 21:41:02 +01:00
<info.nightscout.androidaps.utils.textValidator.ValidatingEditTextPreference
2017-04-09 21:50:05 +02:00
android:key="@string/key_smscommunicator_allowednumbers"
2019-04-08 16:39:41 +02:00
android:summary="@string/smscommunicator_allowednumbers_summary"
2020-01-09 21:41:02 +01:00
android:title="@string/smscommunicator_allowednumbers"
validate:testType="multiPhone" />
<SwitchPreference
android:defaultValue="false"
android:key="@string/key_smscommunicator_remotecommandsallowed"
android:title="@string/smscommunicator_remotecommandsallowed" />
<info.nightscout.androidaps.utils.textValidator.ValidatingEditTextPreference
android:defaultValue="15"
2020-01-09 21:41:02 +01:00
android:key="@string/key_smscommunicator_remotebolusmindistance"
android:summary="@string/smscommunicator_remotebolusmindistance_summary"
android:title="@string/smscommunicator_remotebolusmindistance"
validate:maxNumber="60"
2020-01-09 21:41:02 +01:00
validate:minNumber="3"
validate:testType="numericRange" />
2016-07-14 23:29:21 +02:00
</PreferenceCategory>
</androidx.preference.PreferenceScreen>