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

65 lines
2.5 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" />
2020-03-22 19:59:35 +01:00
<PreferenceCategory android:title="@string/protection">
<ListPreference
android:defaultValue="1"
android:entries="@array/protectiontype"
android:entryValues="@array/protectiontypeValues"
android:key="@string/key_settings_protection"
android:title="@string/settings_protection" />
<EditTextPreference
android:inputType="textPassword"
android:key="@string/key_settings_password"
android:title="@string/settings_password" />
<ListPreference
android:defaultValue="1"
android:entries="@array/protectiontype"
android:entryValues="@array/protectiontypeValues"
android:key="@string/key_application_protection"
android:title="@string/application_protection" />
<EditTextPreference
android:inputType="textPassword"
android:key="@string/key_application_password"
android:title="@string/application_password" />
<ListPreference
android:defaultValue="1"
android:entries="@array/protectiontype"
android:entryValues="@array/protectiontypeValues"
android:key="@string/key_bolus_protection"
android:title="@string/bolus_protection" />
<EditTextPreference
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>