2016-07-14 23:29:21 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-01-08 20:20:20 +01:00
|
|
|
<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"
|
2019-11-07 10:39:17 +01:00
|
|
|
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" />
|
|
|
|
|
2020-01-08 20:20:20 +01:00
|
|
|
<info.nightscout.androidaps.utils.textValidator.ValidatingEditTextPreference
|
2019-11-07 10:39:17 +01:00
|
|
|
android:defaultValue="15"
|
2020-01-09 21:41:02 +01:00
|
|
|
android:key="@string/key_smscommunicator_remotebolusmindistance"
|
2019-11-07 10:39:17 +01:00
|
|
|
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>
|
|
|
|
|
2020-01-08 20:20:20 +01:00
|
|
|
</androidx.preference.PreferenceScreen>
|