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
|
2021-02-24 17:19:52 +01:00
|
|
|
android:key="@string/key_data_choices_settings"
|
2020-01-09 21:41:02 +01:00
|
|
|
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>
|
|
|
|
|
2020-01-08 20:20:20 +01:00
|
|
|
</androidx.preference.PreferenceScreen>
|