Add support for disabling soft keyboard completely with the "soft_keyboard_enabled" SharedPreferences key

Users can toggle the state from Settings -> Keyboard I/O -> Soft Keyboard toggle.

Android phone should also have an internal setting for disabling soft keyboard when a hardware keyboard is connected in Language and Input android settings or from the input mode selection notification, but the above setting will be Termux app specific and will allow soft keyboard to still be shown in other apps.

The `TermuxPreferenceConstants` classes has been updated to `v0.7.0`. Check its Changelog section for info on changes.
This commit is contained in:
agnostic-apollo
2021-03-27 07:52:12 +05:00
parent 04da4b2268
commit 2a8d5e292d
8 changed files with 155 additions and 9 deletions

View File

@@ -5,4 +5,9 @@
app:summary="Preferences for debugging"
app:fragment="com.termux.app.fragments.settings.DebuggingPreferencesFragment"/>
<Preference
app:title="@string/terminal_io_preferences"
app:summary="Preferences for terminal I/O"
app:fragment="com.termux.app.fragments.settings.TerminalIOPreferencesFragment"/>
</PreferenceScreen>