Add movable and resizable pinned action button (e.g. dictation/mic) - #1933
Open
PimpinPumpkin wants to merge 1 commit into
Open
Add movable and resizable pinned action button (e.g. dictation/mic)#1933PimpinPumpkin wants to merge 1 commit into
PimpinPumpkin wants to merge 1 commit into
Conversation
|
Please sign our contributor license agreement at https://cla.futo.org |
|
Please sign our contributor license agreement at https://cla.futo.org |
Collaborator
Author
PimpinPumpkin
force-pushed
the
feature/dictation-button-position-and-size
branch
from
June 3, 2026 18:45
b619f4b to
8f94aab
Compare
Pinned action buttons (e.g. the mic) can be repositioned and resized — useful on tablets and in-car / TV screens where the default small right-side button is hard to reach. Applies to whatever action(s) the user pins via Edit Actions, not just the mic. Settings → Actions: - Pinned action position: Right (default) / Left of suggestions / Far left (before the actions key) - Pinned action button size: Small / Normal (default) / Large ActionBar renders the pinned items in the chosen position (the far-left option places them before the actions launcher key); ActionItemSmall scales width/icon by the size setting.
PimpinPumpkin
force-pushed
the
feature/dictation-button-position-and-size
branch
from
June 3, 2026 20:08
8f94aab to
eb8bd4d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Summary
Pinned action buttons (e.g. the mic/dictation button) are fixed to the right side of the suggestion bar at a single small size, which is hard to use on tablets and on in-car / TV screens.
This PR adds two settings under Settings → Actions, applying to whatever action(s) are pinned via Edit Actions (not just the mic):
Changes
ActionBar.kt: addPinnedActionsPosition(int: 0 = right, 1 = left of suggestions, 2 = far left) andPinnedActionsSize(int 0/1/2)SettingsKeys;ActionItemSmalltakes asizethat scales button width and icon;PinnedActionItemsreads the size; theActionBarrow renders the pinned items right of the suggestions, left of the suggestions, or before the actions launcher key depending on the position setting.Actions.kt: expose both settings in the Settings → Actions quick options as dropdowns.strings-uix.xml: string resources for the labels and options.Motivation
Tablet, in-car, and TV use, where the default right-side small mic button is difficult to reach. Moving it left — optionally all the way before the actions key — and enlarging it significantly improves reachability. Verified on a 768×1024 head unit: the position dropdown moves the pinned mic right / left-of-suggestions / before the actions key as selected.