2016-07-06 22:50:25 +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"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
2019-09-16 15:49:45 +02:00
|
|
|
|
2016-07-06 22:50:25 +02:00
|
|
|
<PreferenceCategory
|
2020-01-09 21:41:02 +01:00
|
|
|
app:initialExpandedChildrenCount="0"
|
2016-07-07 17:17:54 +02:00
|
|
|
android:title="@string/configbuilder_general">
|
2016-07-06 22:50:25 +02:00
|
|
|
|
2019-09-16 15:49:45 +02:00
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="mg/dl"
|
|
|
|
android:entries="@array/unitsArray"
|
|
|
|
android:entryValues="@array/unitsValues"
|
2020-01-09 21:41:02 +01:00
|
|
|
android:key="@string/key_units"
|
|
|
|
android:title="@string/unitsnosemicolon" />
|
2019-09-16 15:49:45 +02:00
|
|
|
|
2016-07-06 22:50:25 +02:00
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="en"
|
|
|
|
android:entries="@array/languagesArray"
|
|
|
|
android:entryValues="@array/languagesValues"
|
2020-01-09 21:41:02 +01:00
|
|
|
android:key="@string/key_language"
|
|
|
|
android:title="@string/language" />
|
|
|
|
|
2020-04-03 00:45:37 +02:00
|
|
|
|
|
|
|
<EditTextPreference
|
|
|
|
android:inputType="textPersonName"
|
|
|
|
android:key="@string/key_patient_name"
|
|
|
|
android:title="@string/patient_name"
|
|
|
|
android:summary="@string/patient_name_summary"
|
|
|
|
/>
|
|
|
|
|
2020-03-22 19:59:35 +01:00
|
|
|
<PreferenceCategory android:title="@string/protection">
|
|
|
|
|
2020-03-24 22:22:23 +01:00
|
|
|
<Preference
|
|
|
|
android:inputType="textPassword"
|
|
|
|
android:key="@string/key_master_password"
|
|
|
|
android:title="@string/master_password"
|
|
|
|
/>
|
|
|
|
|
2020-03-22 19:59:35 +01:00
|
|
|
<ListPreference
|
2020-04-20 01:18:10 +02:00
|
|
|
android:defaultValue="0"
|
2020-03-22 19:59:35 +01:00
|
|
|
android:entries="@array/protectiontype"
|
|
|
|
android:entryValues="@array/protectiontypeValues"
|
|
|
|
android:key="@string/key_settings_protection"
|
|
|
|
android:title="@string/settings_protection" />
|
|
|
|
|
2020-03-24 22:22:23 +01:00
|
|
|
<Preference
|
2020-03-22 19:59:35 +01:00
|
|
|
android:inputType="textPassword"
|
|
|
|
android:key="@string/key_settings_password"
|
|
|
|
android:title="@string/settings_password" />
|
|
|
|
|
|
|
|
<ListPreference
|
2020-04-20 01:18:10 +02:00
|
|
|
android:defaultValue="0"
|
2020-03-22 19:59:35 +01:00
|
|
|
android:entries="@array/protectiontype"
|
|
|
|
android:entryValues="@array/protectiontypeValues"
|
|
|
|
android:key="@string/key_application_protection"
|
|
|
|
android:title="@string/application_protection" />
|
|
|
|
|
2020-03-24 22:22:23 +01:00
|
|
|
<Preference
|
2020-03-22 19:59:35 +01:00
|
|
|
android:inputType="textPassword"
|
|
|
|
android:key="@string/key_application_password"
|
|
|
|
android:title="@string/application_password" />
|
|
|
|
|
|
|
|
<ListPreference
|
2020-04-20 01:18:10 +02:00
|
|
|
android:defaultValue="0"
|
2020-03-22 19:59:35 +01:00
|
|
|
android:entries="@array/protectiontype"
|
|
|
|
android:entryValues="@array/protectiontypeValues"
|
|
|
|
android:key="@string/key_bolus_protection"
|
|
|
|
android:title="@string/bolus_protection" />
|
|
|
|
|
2020-03-24 22:22:23 +01:00
|
|
|
<Preference
|
2020-03-22 19:59:35 +01:00
|
|
|
android:inputType="textPassword"
|
|
|
|
android:key="@string/key_bolus_password"
|
|
|
|
android:title="@string/bolus_password" />
|
|
|
|
|
|
|
|
</PreferenceCategory>
|
2019-09-16 15:49:45 +02:00
|
|
|
|
2016-07-06 22:50:25 +02:00
|
|
|
</PreferenceCategory>
|
2019-09-16 15:49:45 +02:00
|
|
|
|
2020-01-08 20:20:20 +01:00
|
|
|
</androidx.preference.PreferenceScreen>
|