2019-12-31 18:19:35 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- Copyright (C) 2014 The Android Open Source Project
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
|
|
|
|
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">
|
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:key="pref_show_hints"
|
|
|
|
android:title="@string/show_hints"
|
|
|
|
android:summary="@string/show_hints_summary"
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:persistent="true" />
|
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:key="vibrate_on"
|
|
|
|
android:title="@string/vibrate_on_keypress"
|
|
|
|
android:defaultValue="@bool/config_default_vibration_enabled"
|
|
|
|
android:persistent="true" />
|
|
|
|
|
|
|
|
<org.dslul.openboard.inputmethod.latin.settings.SeekBarDialogPreference
|
|
|
|
android:key="pref_vibration_duration_settings"
|
|
|
|
android:title="@string/prefs_keypress_vibration_duration_settings"
|
|
|
|
latin:maxValue="@integer/config_max_vibration_duration" />
|
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:key="sound_on"
|
|
|
|
android:title="@string/sound_on_keypress"
|
|
|
|
android:defaultValue="@bool/config_default_sound_enabled"
|
|
|
|
android:persistent="true" />
|
|
|
|
|
|
|
|
<org.dslul.openboard.inputmethod.latin.settings.SeekBarDialogPreference
|
|
|
|
android:key="pref_keypress_sound_volume"
|
|
|
|
android:title="@string/prefs_keypress_sound_volume_settings"
|
|
|
|
latin:maxValue="100" /> <!-- percent -->
|
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
2019-12-31 18:19:35 +01:00
|
|
|
<CheckBoxPreference
|
|
|
|
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">
|
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:key="pref_show_number_row"
|
|
|
|
android:title="@string/number_row"
|
|
|
|
android:summary="@string/number_row_summary"
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:persistent="true" />
|
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:key="pref_show_language_switch_key"
|
|
|
|
android:title="@string/show_language_switch_key"
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:persistent="true" />
|
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:key="pref_show_emoji_key"
|
|
|
|
android:title="@string/show_emoji_key"
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:persistent="true" />
|
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:key="pref_voice_input_key"
|
|
|
|
android:title="@string/voice_input"
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:persistent="true" />
|
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:key="pref_show_clipboard_key"
|
|
|
|
android:title="@string/show_clipboard_key"
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:persistent="true" />
|
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
2019-12-31 18:19:35 +01:00
|
|
|
</PreferenceScreen>
|