1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-16 15:09:26 +01:00
Gadgetbridge/app/src/main/res/xml/fossil_hr_watchface_settings.xml
Arjan Schrijver e4d8f5f3e2 Fossil Hybrid HR: Add flexible custom menu on watch (#2616)
This PR adds support for a new custom menu system on the Fossil Hybrid HR, developed by @dakhnod. For regular users this PR will change nothing, apart from also giving an extra option to light up the display when receiving new notifications.
For more advanced users, there's the [Fossil HR Menu Companion app](https://github.com/dakhnod/Fossil-HR-Menu-Companion) that's needed to enable and configure the new menu system. Just disable one or more of the physical buttons in Gadgetbridge and configure them instead in the companion app to get started.

Co-authored-by: Daniel Dakhno <dakhnod@gmail.com>
Co-authored-by: Arjan Schrijver <a_gadgetbridge@anymore.nl>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2616
2022-03-22 20:52:43 +01:00

67 lines
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory
android:title="@string/watchface_setting_title_display_refresh_timeout">
<EditTextPreference
android:persistent="false"
android:key="pref_hybridhr_watchface_refresh_full"
android:title="@string/watchface_setting_display_refresh_full" />
<EditTextPreference
android:persistent="false"
android:key="pref_hybridhr_watchface_refresh_partial"
android:title="@string/watchface_setting_display_refresh_partial" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/watchface_setting_title_wrist_flick">
<Preference
android:selectable="false"
android:enabled="false"
android:singleLineTitle="false"
android:title="@string/watchface_setting_desc_wrist_flick" />
<SwitchPreference
android:persistent="false"
android:key="pref_hybridhr_watchface_wrist_flick_relative"
android:title="@string/watchface_setting_wrist_flick_move_relative"
android:singleLineTitle="false" />
<EditTextPreference
android:persistent="false"
android:key="pref_hybridhr_watchface_wrist_flick_hour_hand"
android:title="@string/watchface_setting_wrist_flick_hour" />
<EditTextPreference
android:persistent="false"
android:key="pref_hybridhr_watchface_wrist_flick_minute_hand"
android:title="@string/watchface_setting_wrist_flick_minute" />
<EditTextPreference
android:persistent="false"
android:key="pref_hybridhr_watchface_wrist_flick_duration"
android:title="@string/watchface_setting_wrist_flick_duration" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/watchface_setting_title_power_saving">
<SwitchPreference
android:persistent="false"
android:key="pref_hybridhr_watchface_power_saving_display"
android:title="@string/watchface_setting_power_saving_display"
android:singleLineTitle="false" />
<SwitchPreference
android:persistent="false"
android:key="pref_hybridhr_watchface_power_saving_hands"
android:title="@string/watchface_setting_power_saving_hands"
android:singleLineTitle="false" />
<SwitchPreference
android:persistent="false"
android:key="pref_hybridhr_watchface_light_up_on_notification"
android:title="@string/watchface_setting_light_up_on_notification"
android:singleLineTitle="false" />
</PreferenceCategory>
</PreferenceScreen>