mirror of
https://github.com/dzeiocom/OpenHealth.git
synced 2025-04-22 19:02:16 +00:00
68 lines
2.4 KiB
XML
68 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<PreferenceCategory android:title="@string/settings_global">
|
|
<ListPreference
|
|
android:defaultValue="Male"
|
|
android:entries="@array/genders"
|
|
android:entryValues="@array/genders"
|
|
android:key="global_gender"
|
|
android:title="Gender" />
|
|
|
|
<ListPreference
|
|
android:key="com.dzeio.open-health.app.language"
|
|
android:title="@string/languages" />
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory android:title="Weight Settings">
|
|
|
|
<EditTextPreference
|
|
android:key="global_height"
|
|
android:selectAllOnFocus="true"
|
|
android:singleLine="true"
|
|
android:title="Height" />
|
|
|
|
<EditTextPreference
|
|
android:key="tmp_goal_weight"
|
|
android:selectAllOnFocus="true"
|
|
android:singleLine="true"
|
|
android:title="Goal Weight" />
|
|
<ListPreference
|
|
android:defaultValue="kg"
|
|
android:entries="@array/mass_units"
|
|
android:entryValues="@array/mass_units"
|
|
android:key="com.dzeio.open-health.unit.mass"
|
|
android:title="Mass Unit" />
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory android:title="Water Settings">
|
|
|
|
<SwitchPreference
|
|
android:defaultValue="false"
|
|
android:key="water_hourly_notification"
|
|
android:title="Enable Hourly Notification" />
|
|
<ListPreference
|
|
android:defaultValue="ml"
|
|
android:entries="@array/volume_units"
|
|
android:entryValues="@array/volume_units"
|
|
android:key="water_unit"
|
|
android:title="Volume Unit" />
|
|
<EditTextPreference
|
|
android:defaultValue="2700"
|
|
android:key="water_intake"
|
|
android:selectAllOnFocus="true"
|
|
android:singleLine="true"
|
|
android:inputType="number"
|
|
android:title="Daily Water intake" />
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory android:title="Steps settings">
|
|
<com.dzeio.openhealth.utils.fields.IntEditTextPreference
|
|
android:inputType="number"
|
|
android:key="com.dzeio.open-health.steps.goal-daily"
|
|
android:selectAllOnFocus="true"
|
|
android:singleLine="true"
|
|
android:title="Number of steps each days" />
|
|
</PreferenceCategory>
|
|
</PreferenceScreen>
|