-
-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
toolbar modes #838
base: main
Are you sure you want to change the base?
toolbar modes #838
Conversation
This reverts commit 31a141e.
# Conflicts: # app/src/main/java/helium314/keyboard/latin/LatinIME.java # app/src/main/java/helium314/keyboard/latin/settings/Settings.java # app/src/main/java/helium314/keyboard/latin/settings/SettingsValues.java # app/src/main/java/helium314/keyboard/latin/suggestions/SuggestionStripView.java # app/src/main/java/helium314/keyboard/latin/utils/ToolbarUtils.kt
Sorry to intrude, but do you think it'd be simple to have "flex space" as an item in the toolbar key list? This way, you could have icons on both sides of the toolbar/suggestion strip. Perhaps the toolbar could then be a simple toggle, and the expander position could be a list pref of "start, end, none." You could probably still auto show/hide the suggestions in the 'none' case. This is really cool stuff! :) |
In my opinion a flex space toolbar item would make sense only if you could customize the toolbar keys by moving them around like in Florisboard/Desktop Firefox |
Why remove the variable toggle? Selecting 'variable' from a drop-down doesn't imply a particular direction preference for LTR/RTL. Imo, the best approach would be a choice of how to initially place the expander (right, left, none) and a choice of whether to invert for RTL. |
Sorry I misspoke. It says "Subtype" in the new drop-down, which means it follows the direction of the currently selected subtype (current behavior when "Variable toolbar direction" is enabled). Perhaps "Follow subtype" would be a better fit for the option name. |
For mode (4), please add a preference as to which toolbar is the default. The current behavior is: a. Defaults to suggestion strip then can be switched to toolbar. I want the reverse because I rarely use the suggestions. I use the copy, paste, select all more often. b. Defaults to toolbar then can be switched to suggestion strip. |
@herrbrixter you could use the "auto show toolbar" setting (already available in stable release) to essentially set the (main) toolbar as the default |
Maybe also add the option to just hide the toolbar (and suggestions) altogether? |
@CodeCubeNeo but i've already added that..
|
How would I be able to use this? Thank you |
@TitoCen |
Just registered to Github for that specific thread : I never use the toolbar on keyboards, having the ability to remove it entirely would be awesome and free up some screen space ! 😍 |
I added a list preference to the new toolbar section that allows one to select one of the following toolbar modes:
(*) When incognito mode is on, the expand toolbar key will still be shown with the incognito icon but it won't allow expanding/collapsing the toolbar
I also tried to reduce some of the activity in the SuggestionStripView class depending on the selected mode.
fixes #732, fixes #374