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

29 lines
1.3 KiB
XML
Raw Normal View History

2016-07-14 23:29:21 +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">
2016-07-14 23:29:21 +02:00
<PreferenceCategory
android:key="smscommunicator"
android:title="@string/smscommunicator">
<EditTextPreference
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"
android:title="@string/smscommunicator_allowednumbers" />
<com.andreabaccega.widget.ValidatingEditTextPreference
android:key="@string/key_smscommunicator_remotebolusmindistance"
android:defaultValue="15"
android:summary="@string/smscommunicator_remotebolusmindistance_summary"
android:title="@string/smscommunicator_remotebolusmindistance"
validate:minNumber="3"
validate:maxNumber="60"
validate:testType="numericRange"
android:singleLineTitle="false"
/>
2016-07-14 23:29:21 +02:00
<SwitchPreference
android:defaultValue="false"
2017-02-22 14:11:05 +01:00
android:key="@string/key_smscommunicator_remotecommandsallowed"
2016-09-16 14:08:26 +02:00
android:title="@string/smscommunicator_remotecommandsallowed" />
2016-07-14 23:29:21 +02:00
</PreferenceCategory>
</PreferenceScreen>