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
|
2018-07-28 22:45:40 +02:00
|
|
|
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"
|
2018-07-28 22:45:40 +02:00
|
|
|
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"
|
2018-07-28 22:45:40 +02:00
|
|
|
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>
|