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

79 lines
2.9 KiB
XML
Raw Normal View History

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"
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" />
<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">
<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" />
<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" />
<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" />
<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
</androidx.preference.PreferenceScreen>