2019-12-31 18:19:35 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2023-10-20 09:04:57 +02:00
|
|
|
<!--
|
|
|
|
Copyright (C) 2014 The Android Open Source Project
|
|
|
|
modified
|
|
|
|
SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only
|
2019-12-31 18:19:35 +01:00
|
|
|
-->
|
2020-01-21 20:30:29 +01:00
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
2022-01-29 15:56:03 +01:00
|
|
|
xmlns:latin="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:title="@string/settings_screen_preferences">
|
|
|
|
|
|
|
|
<PreferenceCategory android:title="@string/settings_category_input">
|
|
|
|
|
2024-01-29 14:32:51 +01:00
|
|
|
<SwitchPreference
|
2024-01-28 14:23:38 +01:00
|
|
|
android:key="show_hints"
|
2022-01-29 15:56:03 +01:00
|
|
|
android:title="@string/show_hints"
|
|
|
|
android:summary="@string/show_hints_summary"
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:persistent="true" />
|
|
|
|
|
2023-12-25 09:20:15 +01:00
|
|
|
<Preference
|
2024-01-31 16:54:31 +01:00
|
|
|
android:key="popup_keys_labels_order"
|
2023-12-25 09:20:15 +01:00
|
|
|
android:title="@string/hint_source" />
|
|
|
|
|
|
|
|
<Preference
|
2024-01-31 16:54:31 +01:00
|
|
|
android:key="popup_keys_order"
|
2023-12-25 09:20:15 +01:00
|
|
|
android:title="@string/popup_order" />
|
2023-12-10 18:31:03 +01:00
|
|
|
|
2024-01-29 14:32:51 +01:00
|
|
|
<SwitchPreference
|
2024-01-28 14:23:38 +01:00
|
|
|
android:key="show_popup_hints"
|
2023-09-23 13:02:56 +02:00
|
|
|
android:title="@string/show_popup_hints"
|
|
|
|
android:summary="@string/show_popup_hints_summary"
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:persistent="true" />
|
|
|
|
|
2024-01-29 14:32:51 +01:00
|
|
|
<SwitchPreference
|
2022-01-29 15:56:03 +01:00
|
|
|
android:key="vibrate_on"
|
|
|
|
android:title="@string/vibrate_on_keypress"
|
|
|
|
android:defaultValue="@bool/config_default_vibration_enabled"
|
|
|
|
android:persistent="true" />
|
|
|
|
|
2024-01-31 18:32:43 +01:00
|
|
|
<helium314.keyboard.latin.settings.SeekBarDialogPreference
|
2024-01-28 14:23:38 +01:00
|
|
|
android:key="vibration_duration_settings"
|
2022-01-29 15:56:03 +01:00
|
|
|
android:title="@string/prefs_keypress_vibration_duration_settings"
|
|
|
|
latin:maxValue="@integer/config_max_vibration_duration" />
|
|
|
|
|
2024-01-29 14:32:51 +01:00
|
|
|
<SwitchPreference
|
2022-01-29 15:56:03 +01:00
|
|
|
android:key="sound_on"
|
|
|
|
android:title="@string/sound_on_keypress"
|
|
|
|
android:defaultValue="@bool/config_default_sound_enabled"
|
|
|
|
android:persistent="true" />
|
|
|
|
|
2024-01-31 18:32:43 +01:00
|
|
|
<helium314.keyboard.latin.settings.SeekBarDialogPreference
|
2024-01-28 14:23:38 +01:00
|
|
|
android:key="keypress_sound_volume"
|
2022-01-29 15:56:03 +01:00
|
|
|
android:title="@string/prefs_keypress_sound_volume_settings"
|
|
|
|
latin:maxValue="100" /> <!-- percent -->
|
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
2024-01-29 14:32:51 +01:00
|
|
|
<SwitchPreference
|
2019-12-31 18:19:35 +01:00
|
|
|
android:key="popup_on"
|
|
|
|
android:title="@string/popup_on_keypress"
|
|
|
|
android:defaultValue="@bool/config_default_key_preview_popup"
|
|
|
|
android:persistent="true" />
|
2022-01-29 15:56:03 +01:00
|
|
|
|
|
|
|
<PreferenceCategory
|
|
|
|
android:title="@string/settings_category_additional_keys">
|
|
|
|
|
2024-01-29 14:32:51 +01:00
|
|
|
<SwitchPreference
|
2024-01-28 14:23:38 +01:00
|
|
|
android:key="show_number_row"
|
2022-01-29 15:56:03 +01:00
|
|
|
android:title="@string/number_row"
|
|
|
|
android:summary="@string/number_row_summary"
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:persistent="true" />
|
|
|
|
|
2024-01-29 14:32:51 +01:00
|
|
|
<SwitchPreference
|
2024-01-28 14:23:38 +01:00
|
|
|
android:key="localized_number_row"
|
2023-11-27 15:50:06 +01:00
|
|
|
android:title="@string/localized_number_row"
|
|
|
|
android:summary="@string/localized_number_row_summary"
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:persistent="true" />
|
|
|
|
|
2023-09-09 08:29:06 +02:00
|
|
|
<ListPreference
|
2024-01-28 14:23:38 +01:00
|
|
|
android:key="language_switch_key"
|
2022-01-29 15:56:03 +01:00
|
|
|
android:title="@string/show_language_switch_key"
|
2023-09-09 08:29:06 +02:00
|
|
|
android:entries="@array/language_switch_key_entries"
|
|
|
|
android:entryValues="@array/language_switch_key_values"
|
|
|
|
android:defaultValue="off"
|
|
|
|
android:summary="%s"
|
2022-01-29 15:56:03 +01:00
|
|
|
android:persistent="true" />
|
|
|
|
|
2024-01-29 14:32:51 +01:00
|
|
|
<SwitchPreference
|
2024-01-28 14:23:38 +01:00
|
|
|
android:key="show_emoji_key"
|
2022-01-29 15:56:03 +01:00
|
|
|
android:title="@string/show_emoji_key"
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:persistent="true" />
|
|
|
|
|
2023-12-28 22:47:31 +01:00
|
|
|
<Preference
|
2024-01-28 14:23:38 +01:00
|
|
|
android:key="toolbar_keys"
|
2023-12-28 22:47:31 +01:00
|
|
|
android:title="@string/toolbar_keys" />
|
|
|
|
|
2024-03-27 07:04:59 +02:00
|
|
|
<SwitchPreference
|
|
|
|
android:key="var_toolbar_direction"
|
|
|
|
android:title="@string/var_toolbar_direction"
|
|
|
|
android:summary="@string/var_toolbar_direction_summary"
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:persistent="true" />
|
|
|
|
|
2022-01-29 15:56:03 +01:00
|
|
|
</PreferenceCategory>
|
|
|
|
|
2022-02-18 21:08:29 +01:00
|
|
|
<PreferenceCategory android:title="@string/settings_category_clipboard_history">
|
|
|
|
|
2024-01-29 14:32:51 +01:00
|
|
|
<SwitchPreference
|
2024-01-28 14:23:38 +01:00
|
|
|
android:key="enable_clipboard_history"
|
2022-02-18 21:08:29 +01:00
|
|
|
android:title="@string/enable_clipboard_history"
|
|
|
|
android:summary="@string/enable_clipboard_history_summary"
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:persistent="true" />
|
|
|
|
|
2024-01-31 18:32:43 +01:00
|
|
|
<helium314.keyboard.latin.settings.SeekBarDialogPreference
|
2024-01-28 14:23:38 +01:00
|
|
|
android:key="clipboard_history_retention_time"
|
2022-02-18 21:08:29 +01:00
|
|
|
android:title="@string/clipboard_history_retention_time"
|
|
|
|
latin:maxValue="120" /> <!-- minutes -->
|
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
2019-12-31 18:19:35 +01:00
|
|
|
</PreferenceScreen>
|