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

33 lines
1.1 KiB
XML
Raw Normal View History

2018-07-25 22:00:58 +02:00
<?xml version="1.0" encoding="utf-8"?>
2018-08-07 21:07:43 +02:00
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
2018-07-25 22:00:58 +02:00
<PreferenceCategory
android:key="maintenance"
android:title="@string/maintenance_settings">
2018-07-25 22:00:58 +02:00
<com.andreabaccega.widget.ValidatingEditTextPreference
android:defaultValue="logs@androidaps.org"
2018-07-30 19:42:18 +02:00
android:dialogMessage="@string/maintenance_email"
2018-07-25 22:00:58 +02:00
android:inputType="textEmailAddress"
android:key="@string/key_maintenance_logs_email"
2018-07-25 22:00:58 +02:00
android:selectAllOnFocus="true"
2018-08-07 21:07:43 +02:00
android:title="@string/maintenance_email" />
<!-- TODO: make this working with changed package name(nsclient)
validatingEditText:emptyAllowed="false"
validatingEditText:testErrorString="@string/invalid_email_message"
validatingEditText:testType="email"
-->
2018-07-25 22:00:58 +02:00
<EditTextPreference
android:defaultValue="2"
android:inputType="number"
android:key="@string/key_maintenance_logs_amount"
2018-07-30 19:42:18 +02:00
android:title="@string/maintenance_amount">
2018-07-25 22:00:58 +02:00
</EditTextPreference>
</PreferenceCategory>
</PreferenceScreen>