2020-02-27 13:36:53 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-03-20 17:14:00 +01:00
|
|
|
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
2020-10-13 03:06:05 +02:00
|
|
|
|
2021-05-06 21:12:53 +02:00
|
|
|
<PreferenceScreen
|
|
|
|
android:key="button_configuration"
|
|
|
|
android:title="@string/pref_title_physical_buttons"
|
|
|
|
android:summary="@string/pref_summary_physical_buttons">
|
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="weatherApp"
|
|
|
|
android:entries="@array/pref_hybridhr_buttonfunctions"
|
|
|
|
android:entryValues="@array/pref_hybridhr_buttonfunctions_values"
|
|
|
|
android:key="button_1_function_short"
|
|
|
|
android:summary="%s"
|
|
|
|
android:title="@string/pref_title_upper_button_function_short" />
|
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="weatherApp"
|
|
|
|
android:entries="@array/pref_hybridhr_buttonfunctions"
|
|
|
|
android:entryValues="@array/pref_hybridhr_buttonfunctions_values"
|
|
|
|
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" />
|
|
|
|
-->
|
2020-10-13 03:06:05 +02:00
|
|
|
|
2021-05-06 21:12:53 +02:00
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="commuteApp"
|
|
|
|
android:entries="@array/pref_hybridhr_buttonfunctions"
|
|
|
|
android:entryValues="@array/pref_hybridhr_buttonfunctions_values"
|
|
|
|
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" />
|
|
|
|
-->
|
2020-10-13 03:06:05 +02:00
|
|
|
|
2021-05-06 21:12:53 +02:00
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="musicApp"
|
|
|
|
android:entries="@array/pref_hybridhr_buttonfunctions"
|
|
|
|
android:entryValues="@array/pref_hybridhr_buttonfunctions_values"
|
|
|
|
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"
|
|
|
|
android:key="button_3_function_long"
|
|
|
|
android:summary="%s"
|
|
|
|
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" />
|
|
|
|
-->
|
|
|
|
</PreferenceScreen>
|
2020-10-13 03:06:05 +02:00
|
|
|
|
2021-05-22 22:28:26 +02:00
|
|
|
<Preference
|
2021-05-31 10:16:33 +02:00
|
|
|
android:title="@string/qhybrid_pref_title_actions"
|
|
|
|
android:summary="@string/qhybrid_pref_summary_actions">
|
2021-05-22 22:28:26 +02:00
|
|
|
<intent
|
|
|
|
android:targetPackage="nodomain.freeyourgadget.gadgetbridge"
|
|
|
|
android:targetClass="nodomain.freeyourgadget.gadgetbridge.devices.qhybrid.CommuteActionsActivity" />
|
|
|
|
</Preference>
|
|
|
|
|
2020-03-20 17:14:00 +01:00
|
|
|
<SeekBarPreference
|
|
|
|
android:defaultValue="2"
|
2020-04-12 02:26:38 +02:00
|
|
|
android:key="vibration_strength"
|
2020-03-20 17:14:00 +01:00
|
|
|
android:max="3"
|
|
|
|
android:title="@string/pref_title_vibration_strength"
|
|
|
|
app:showSeekBarValue="true" />
|
|
|
|
|
2021-05-06 21:12:53 +02:00
|
|
|
<Preference
|
2021-05-31 10:16:33 +02:00
|
|
|
android:title="@string/qhybrid_pref_title_calibration"
|
|
|
|
android:summary="@string/qhybrid_pref_summary_calibration">
|
2021-05-06 21:12:53 +02:00
|
|
|
<intent
|
|
|
|
android:targetPackage="nodomain.freeyourgadget.gadgetbridge"
|
|
|
|
android:targetClass="nodomain.freeyourgadget.gadgetbridge.devices.qhybrid.CalibrationActivity" />
|
|
|
|
</Preference>
|
2021-05-07 11:24:10 +02:00
|
|
|
|
2021-05-31 10:16:33 +02:00
|
|
|
<PreferenceScreen
|
|
|
|
android:key="developer_settings"
|
|
|
|
android:title="@string/pref_title_developer_settings"
|
|
|
|
android:summary="@string/pref_summary_developer_settings">
|
2021-05-07 11:24:10 +02:00
|
|
|
|
2021-05-31 10:16:33 +02:00
|
|
|
<SwitchPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="save_raw_activity_files"
|
|
|
|
android:title="@string/qhybrid_pref_save_raw_activity_files" />
|
|
|
|
|
|
|
|
<SwitchPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="dangerous_external_intents"
|
|
|
|
android:title="@string/qhybrid_pref_title_external_intents"
|
|
|
|
android:summary="@string/qhybrid_pref_summary_external_intents" />
|
|
|
|
|
|
|
|
<Preference
|
|
|
|
android:title="@string/qhybrid_title_file_management"
|
|
|
|
android:summary="@string/qhybrid_summary_file_management">
|
|
|
|
<intent
|
|
|
|
android:targetPackage="nodomain.freeyourgadget.gadgetbridge"
|
|
|
|
android:targetClass="nodomain.freeyourgadget.gadgetbridge.devices.qhybrid.FileManagementActivity" />
|
|
|
|
</Preference>
|
|
|
|
|
|
|
|
</PreferenceScreen>
|
2021-05-06 21:12:53 +02:00
|
|
|
|
2020-02-27 13:36:53 +01:00
|
|
|
</androidx.preference.PreferenceScreen>
|