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

28 lines
1.1 KiB
XML
Raw Normal View History

2018-04-24 00:11:52 +02:00
<?xml version="1.0" encoding="utf-8"?>
2020-01-09 21:41:02 +01:00
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
2021-02-21 12:30:45 +01:00
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:validate="http://schemas.android.com/apk/res-auto">
2018-04-24 00:11:52 +02:00
2020-01-09 21:41:02 +01:00
<PreferenceCategory
android:title="@string/data_choices"
app:initialExpandedChildrenCount="0">
2018-04-24 00:11:52 +02:00
2020-01-09 21:41:02 +01:00
<SwitchPreference
android:defaultValue="true"
android:key="@string/key_enable_fabric"
android:summary="@string/allow_automated_crash_reporting"
android:title="@string/fabric_upload" />
2018-04-24 00:11:52 +02:00
2021-02-21 12:30:45 +01:00
<info.nightscout.androidaps.utils.textValidator.ValidatingEditTextPreference
android:dialogMessage="@string/summary_email_for_crash_report"
android:inputType="textEmailAddress"
android:key="@string/key_email_for_crash_report"
android:selectAllOnFocus="true"
android:summary="@string/summary_email_for_crash_report"
android:title="@string/email_address"
validate:testType="email" />
2018-04-24 00:11:52 +02:00
</PreferenceCategory>
</androidx.preference.PreferenceScreen>