1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-03 15:27:50 +02:00

add some preference icons

This commit is contained in:
OliE
2017-03-10 20:08:35 +01:00
parent a919043489
commit 3ce134fba3
3 changed files with 11 additions and 6 deletions

View File

@@ -2,4 +2,5 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<CheckBoxPreference android:title="@string/label_enable_labels" android:summaryOn="@string/info_is_visible" android:summaryOff="@string/info_is_not_visible" android:key="labelsEnable" android:defaultValue="true"/> <CheckBoxPreference android:title="@string/label_enable_labels" android:summaryOn="@string/info_is_visible" android:summaryOff="@string/info_is_not_visible" android:key="labelsEnable" android:defaultValue="true"/>
<CheckBoxPreference android:title="@string/label_enable_points" android:summaryOn="@string/info_is_visible" android:summaryOff="@string/info_is_not_visible" android:key="pointsEnable" android:defaultValue="true"/> <CheckBoxPreference android:title="@string/label_enable_points" android:summaryOn="@string/info_is_visible" android:summaryOff="@string/info_is_not_visible" android:key="pointsEnable" android:defaultValue="true"/>
<CheckBoxPreference android:title="@string/label_delete_confirmation" android:summaryOn="@string/info_is_enable" android:summaryOff="@string/info_is_not_enable" android:key="deleteConfirmationEnable" android:defaultValue="true" />
</PreferenceScreen> </PreferenceScreen>

View File

@@ -2,17 +2,22 @@
<preference-headers xmlns:android="http://schemas.android.com/apk/res/android"> <preference-headers xmlns:android="http://schemas.android.com/apk/res/android">
<header <header
android:fragment="com.health.openscale.gui.preferences.UsersPreferences" android:fragment="com.health.openscale.gui.preferences.UsersPreferences"
android:title="@string/title_users" /> android:title="@string/title_users"
android:icon="@drawable/preferences_users"/>
<header <header
android:fragment="com.health.openscale.gui.preferences.BluetoothPreferences" android:fragment="com.health.openscale.gui.preferences.BluetoothPreferences"
android:title="@string/label_bluetooth_title" /> android:title="@string/label_bluetooth_title"
android:icon="@drawable/preferences_bluetooth"/>
<header <header
android:fragment="com.health.openscale.gui.preferences.MeasurementPreferences" android:fragment="com.health.openscale.gui.preferences.MeasurementPreferences"
android:title="@string/title_measurements" /> android:title="@string/title_measurements"
android:icon="@drawable/preferences_measurement"/>
<header <header
android:fragment="com.health.openscale.gui.preferences.GraphPreferences" android:fragment="com.health.openscale.gui.preferences.GraphPreferences"
android:title="@string/title_graph" /> android:title="@string/title_graph"
android:icon="@drawable/preferences_graph"/>
<header <header
android:fragment="com.health.openscale.gui.preferences.ReminderPreferences" android:fragment="com.health.openscale.gui.preferences.ReminderPreferences"
android:title="@string/label_reminder" /> android:title="@string/label_reminder"
android:icon="@drawable/preferences_reminder"/>
</preference-headers> </preference-headers>

View File

@@ -5,5 +5,4 @@
<CheckBoxPreference android:title="@string/label_muscle" android:summaryOn="@string/info_is_enable" android:summaryOff="@string/info_is_not_enable" android:key="muscleEnable" android:defaultValue="true"/> <CheckBoxPreference android:title="@string/label_muscle" android:summaryOn="@string/info_is_enable" android:summaryOff="@string/info_is_not_enable" android:key="muscleEnable" android:defaultValue="true"/>
<CheckBoxPreference android:title="@string/label_waist" android:summaryOn="@string/info_is_enable" android:summaryOff="@string/info_is_not_enable" android:key="waistEnable" android:defaultValue="false"/> <CheckBoxPreference android:title="@string/label_waist" android:summaryOn="@string/info_is_enable" android:summaryOff="@string/info_is_not_enable" android:key="waistEnable" android:defaultValue="false"/>
<CheckBoxPreference android:title="@string/label_hip" android:summaryOn="@string/info_is_enable" android:summaryOff="@string/info_is_not_enable" android:key="hipEnable" android:defaultValue="false"/> <CheckBoxPreference android:title="@string/label_hip" android:summaryOn="@string/info_is_enable" android:summaryOff="@string/info_is_not_enable" android:key="hipEnable" android:defaultValue="false"/>
<CheckBoxPreference android:title="@string/label_delete_confirmation" android:summaryOn="@string/info_is_enable" android:summaryOff="@string/info_is_not_enable" android:key="deleteConfirmationEnable" android:defaultValue="true" />
</PreferenceScreen> </PreferenceScreen>