mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-25 11:22:20 +00:00
126 lines
4.6 KiB
XML
126 lines
4.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2014 The Android Open Source Project
|
|
modified
|
|
SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only
|
|
-->
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:latin="http://schemas.android.com/apk/res-auto"
|
|
android:title="@string/settings_screen_preferences">
|
|
|
|
<PreferenceCategory android:title="@string/settings_category_input">
|
|
|
|
<SwitchPreference
|
|
android:key="show_hints"
|
|
android:title="@string/show_hints"
|
|
android:summary="@string/show_hints_summary"
|
|
android:defaultValue="true"
|
|
android:persistent="true" />
|
|
|
|
<Preference
|
|
android:key="popup_keys_labels_order"
|
|
android:title="@string/hint_source" />
|
|
|
|
<Preference
|
|
android:key="popup_keys_order"
|
|
android:title="@string/popup_order" />
|
|
|
|
<SwitchPreference
|
|
android:key="show_popup_hints"
|
|
android:title="@string/show_popup_hints"
|
|
android:summary="@string/show_popup_hints_summary"
|
|
android:defaultValue="false"
|
|
android:persistent="true" />
|
|
|
|
<SwitchPreference
|
|
android:key="vibrate_on"
|
|
android:title="@string/vibrate_on_keypress"
|
|
android:defaultValue="@bool/config_default_vibration_enabled"
|
|
android:persistent="true" />
|
|
|
|
<helium314.keyboard.latin.settings.SeekBarDialogPreference
|
|
android:key="vibration_duration_settings"
|
|
android:title="@string/prefs_keypress_vibration_duration_settings"
|
|
latin:maxValue="@integer/config_max_vibration_duration" />
|
|
|
|
<SwitchPreference
|
|
android:key="sound_on"
|
|
android:title="@string/sound_on_keypress"
|
|
android:defaultValue="@bool/config_default_sound_enabled"
|
|
android:persistent="true" />
|
|
|
|
<helium314.keyboard.latin.settings.SeekBarDialogPreference
|
|
android:key="keypress_sound_volume"
|
|
android:title="@string/prefs_keypress_sound_volume_settings"
|
|
latin:maxValue="100" /> <!-- percent -->
|
|
|
|
</PreferenceCategory>
|
|
|
|
<SwitchPreference
|
|
android:key="popup_on"
|
|
android:title="@string/popup_on_keypress"
|
|
android:defaultValue="@bool/config_default_key_preview_popup"
|
|
android:persistent="true" />
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/settings_category_additional_keys">
|
|
|
|
<SwitchPreference
|
|
android:key="show_number_row"
|
|
android:title="@string/number_row"
|
|
android:summary="@string/number_row_summary"
|
|
android:defaultValue="false"
|
|
android:persistent="true" />
|
|
|
|
<SwitchPreference
|
|
android:key="localized_number_row"
|
|
android:title="@string/localized_number_row"
|
|
android:summary="@string/localized_number_row_summary"
|
|
android:defaultValue="true"
|
|
android:persistent="true" />
|
|
|
|
<ListPreference
|
|
android:key="language_switch_key"
|
|
android:title="@string/show_language_switch_key"
|
|
android:entries="@array/language_switch_key_entries"
|
|
android:entryValues="@array/language_switch_key_values"
|
|
android:defaultValue="off"
|
|
android:summary="%s"
|
|
android:persistent="true" />
|
|
|
|
<SwitchPreference
|
|
android:key="show_emoji_key"
|
|
android:title="@string/show_emoji_key"
|
|
android:defaultValue="false"
|
|
android:persistent="true" />
|
|
|
|
<Preference
|
|
android:key="toolbar_keys"
|
|
android:title="@string/toolbar_keys" />
|
|
|
|
<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" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory android:title="@string/settings_category_clipboard_history">
|
|
|
|
<SwitchPreference
|
|
android:key="enable_clipboard_history"
|
|
android:title="@string/enable_clipboard_history"
|
|
android:summary="@string/enable_clipboard_history_summary"
|
|
android:defaultValue="true"
|
|
android:persistent="true" />
|
|
|
|
<helium314.keyboard.latin.settings.SeekBarDialogPreference
|
|
android:key="clipboard_history_retention_time"
|
|
android:title="@string/clipboard_history_retention_time"
|
|
latin:maxValue="120" /> <!-- minutes -->
|
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen>
|