1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 12:56:49 +01:00

Add Health root preference screen

This commit is contained in:
Damien 'Psolyca' Gaignon 2024-03-30 23:02:21 +01:00
parent e47337fe6b
commit c63fa19550
No known key found for this signature in database
GPG Key ID: 9E9404E5D9E11843
2 changed files with 10 additions and 0 deletions

View File

@ -30,6 +30,7 @@ public enum DeviceSpecificSettingsScreen {
NOTIFICATIONS("pref_screen_notifications", R.xml.devicesettings_root_notifications),
DATE_TIME("pref_screen_date_time", R.xml.devicesettings_root_date_time),
WORKOUT("pref_screen_workout", R.xml.devicesettings_root_workout),
HEALTH("pref_screen_health", R.xml.devicesettings_root_health),
;
private final String key;

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceScreen
android:icon="@drawable/ic_health"
android:key="pref_screen_health"
android:persistent="false"
android:title="@string/pref_header_health">
</PreferenceScreen>
</androidx.preference.PreferenceScreen>