mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-29 05:16:51 +01:00
Fossil HR: Disable non-configurable buttons preferences and add info
This commit is contained in:
parent
3617fc9115
commit
0a98437d54
@ -1468,4 +1468,6 @@
|
||||
<string name="distance_format_miles">###.#mi</string>
|
||||
<!-- Translators: the ### indicate number of digits, keep intact -->
|
||||
<string name="distance_format_feet">###ft</string>
|
||||
<string name="menuitem_menu">Menu</string>
|
||||
<string name="fossil_hr_button_config_info">Some buttons cannot be configured because their functions are hard-coded in the watch firmware.\n\nWarning: long-pressing the upper button when a watchface from the official Fossil app is installed will also toggle between showing/hiding widgets.</string>
|
||||
</resources>
|
||||
|
@ -21,16 +21,6 @@
|
||||
android:key="button_1_function_long"
|
||||
android:summary="%s"
|
||||
android:title="@string/pref_title_upper_button_function_long" />
|
||||
<!-- supported FW does not support double click
|
||||
<ListPreference
|
||||
android:defaultValue="weatherApp"
|
||||
android:entries="@array/pref_hybridhr_buttonfunctions"
|
||||
android:entryValues="@array/pref_hybridhr_buttonfunctions_values"
|
||||
android:key="button_1_function_double"
|
||||
android:summary="%s"
|
||||
android:title="@string/pref_title_upper_button_function_double" />
|
||||
-->
|
||||
|
||||
<ListPreference
|
||||
android:defaultValue="commuteApp"
|
||||
android:entries="@array/pref_hybridhr_buttonfunctions"
|
||||
@ -38,16 +28,12 @@
|
||||
android:key="button_2_function_short"
|
||||
android:summary="%s"
|
||||
android:title="@string/pref_title_middle_button_function_short" />
|
||||
<!-- supported FW does not support double click
|
||||
<ListPreference
|
||||
android:defaultValue="commuteApp"
|
||||
android:entries="@array/pref_hybridhr_buttonfunctions"
|
||||
android:entryValues="@array/pref_hybridhr_buttonfunctions_values"
|
||||
android:key="button_2_function_double"
|
||||
android:summary="%s"
|
||||
android:title="@string/pref_title_middle_button_function_double" />
|
||||
-->
|
||||
|
||||
<Preference
|
||||
android:selectable="false"
|
||||
android:persistent="false"
|
||||
android:key="button_2_function_long"
|
||||
android:summary="@string/menuitem_menu"
|
||||
android:title="@string/pref_title_middle_button_function_long" />
|
||||
<ListPreference
|
||||
android:defaultValue="musicApp"
|
||||
android:entries="@array/pref_hybridhr_buttonfunctions"
|
||||
@ -55,22 +41,17 @@
|
||||
android:key="button_3_function_short"
|
||||
android:summary="%s"
|
||||
android:title="@string/pref_title_lower_button_function_short" />
|
||||
<ListPreference
|
||||
android:defaultValue="musicApp"
|
||||
android:entries="@array/pref_hybridhr_buttonfunctions"
|
||||
android:entryValues="@array/pref_hybridhr_buttonfunctions_values"
|
||||
<Preference
|
||||
android:selectable="false"
|
||||
android:persistent="false"
|
||||
android:key="button_3_function_long"
|
||||
android:summary="%s"
|
||||
android:summary="@string/menuitem_notifications"
|
||||
android:title="@string/pref_title_lower_button_function_long" />
|
||||
<!-- supported FW does not support double click
|
||||
<ListPreference
|
||||
android:defaultValue="musicApp"
|
||||
android:entries="@array/pref_hybridhr_buttonfunctions"
|
||||
android:entryValues="@array/pref_hybridhr_buttonfunctions_values"
|
||||
android:key="button_3_function_double"
|
||||
android:summary="%s"
|
||||
android:title="@string/pref_title_lower_button_function_double" />
|
||||
-->
|
||||
<Preference
|
||||
android:selectable="false"
|
||||
android:persistent="false"
|
||||
android:key="button_1_function_long_warning"
|
||||
android:summary="@string/fossil_hr_button_config_info" />
|
||||
</PreferenceScreen>
|
||||
|
||||
<Preference
|
||||
|
Loading…
Reference in New Issue
Block a user