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

85 lines
3.2 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
android:key="@string/key_configbuilder_general_settings"
2021-02-15 19:36:29 +01:00
android:title="@string/configbuilder_general"
app:initialExpandedChildrenCount="0">
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
2020-05-24 18:30:16 +02:00
android:defaultValue="default"
2016-07-06 22:50:25 +02:00
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"
/>
<PreferenceCategory
android:key="@string/key_protection_settings"
android:title="@string/protection">
2020-03-22 19:59:35 +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" />
<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
2020-05-03 15:04:08 +02:00
<info.nightscout.androidaps.skins.SkinListPreference
android:key="@string/key_skin"
android:title="@string/skin" />
2016-07-06 22:50:25 +02:00
</PreferenceCategory>
2019-09-16 15:49:45 +02:00
</androidx.preference.PreferenceScreen>