mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-13 02:21:14 +01:00
a7796ecbc6
NOTE: - supports aplite and basalt emulator - needs recompilation of Gadgetbridge with INTERNET permission TODO: - fix disconnect issues - emulator special packet support - string localization - ...
103 lines
4.5 KiB
XML
103 lines
4.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<PreferenceCategory
|
|
android:key="pref_key_general"
|
|
android:title="@string/pref_header_general">
|
|
<CheckBoxPreference
|
|
android:defaultValue="false"
|
|
android:key="general_autoconnectonbluetooth"
|
|
android:title="@string/pref_title_general_autoconnectonbluetooth" />
|
|
</PreferenceCategory>
|
|
<PreferenceCategory
|
|
android:key="pref_key_datetime"
|
|
android:title="@string/pref_header_datetime">
|
|
<CheckBoxPreference
|
|
android:defaultValue="true"
|
|
android:key="datetime_synconconnect"
|
|
android:summary="@string/pref_summary_datetime_syctimeonconnect"
|
|
android:title="@string/pref_title_datetime_syctimeonconnect" />
|
|
</PreferenceCategory>
|
|
<PreferenceCategory
|
|
android:key="pref_key_notifications"
|
|
android:title="@string/pref_header_notifications">
|
|
|
|
<ListPreference
|
|
android:defaultValue="when_screen_off"
|
|
android:entries="@array/notification_mode"
|
|
android:entryValues="@array/notification_mode_values"
|
|
android:key="notification_mode_sms"
|
|
android:title="@string/pref_title_notifications_sms" />
|
|
|
|
<ListPreference
|
|
android:defaultValue="when_screen_off"
|
|
android:entries="@array/notification_mode"
|
|
android:entryValues="@array/notification_mode_values"
|
|
android:key="notification_mode_k9mail"
|
|
android:title="@string/pref_title_notifications_k9mail" />
|
|
|
|
<ListPreference
|
|
android:defaultValue="when_screen_off"
|
|
android:entries="@array/notification_mode"
|
|
android:entryValues="@array/notification_mode_values"
|
|
android:key="notification_mode_pebblemsg"
|
|
android:summary="@string/pref_summary_notifications_pebblemsg"
|
|
android:title="@string/pref_title_notifications_pebblemsg" />
|
|
|
|
<Preference
|
|
android:key="notifications_generic"
|
|
android:title="@string/pref_title_notifications_generic" />
|
|
|
|
<CheckBoxPreference
|
|
android:defaultValue="false"
|
|
android:key="notifications_generic_whenscreenon"
|
|
android:title="@string/pref_title_whenscreenon" />
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="pref_key_device_specific_category"
|
|
android:title="@string/preferences_category_device_specific_settings">
|
|
<Preference
|
|
android:key="pref_key_miband"
|
|
android:icon="@drawable/ic_device_miband"
|
|
android:title="@string/preferences_miband_settings" />
|
|
<PreferenceScreen
|
|
android:key="pref_key_pebble"
|
|
android:icon="@drawable/ic_device_pebble"
|
|
android:title="@string/pref_title_pebble_settings" >
|
|
<PreferenceCategory
|
|
android:key="pref_key_development"
|
|
android:title="@string/pref_header_development">
|
|
<CheckBoxPreference
|
|
android:defaultValue="false"
|
|
android:key="pebble_force_protocol"
|
|
android:title="@string/pref_title_pebble_forceprotocol"
|
|
android:summary="@string/pref_summary_pebble_forceprotocol" />
|
|
<CheckBoxPreference
|
|
android:defaultValue="false"
|
|
android:key="pebble_force_untested"
|
|
android:title="@string/pref_title_pebble_forceuntested"
|
|
android:summary="@string/pref_summary_pebble_forceuntested" />
|
|
<EditTextPreference
|
|
android:digits="0123456789."
|
|
android:key="pebble_emu_addr"
|
|
android:maxLength="15"
|
|
android:title="Emulator IP" />
|
|
<EditTextPreference
|
|
android:inputType="number"
|
|
android:key="pebble_emu_port"
|
|
android:maxLength="5"
|
|
android:title="Emulator Port" />
|
|
</PreferenceCategory>
|
|
</PreferenceScreen>
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="pref_key_development"
|
|
android:title="@string/pref_header_development">
|
|
<CheckBoxPreference
|
|
android:defaultValue="false"
|
|
android:key="log_to_file"
|
|
android:title="@string/pref_write_logfiles" />
|
|
</PreferenceCategory>
|
|
</PreferenceScreen>
|