Fix Titan 2 Elite rounded corners - #298
Merged
pzauner merged 7 commits intoSep 6, 2026
Merged
Conversation
Refactor corner radius handling to apply rounded corners to the entire IME chrome layout instead of just padding the bottom row. Move corner radius logic from padding-based insets to ViewOutlineProvider-based clipping. Increase fallback corner radius from 24dp to 50dp for better visual consistency.
Conditionally disable vertical padding when Titan2 Elite rounded corner insets are enabled. Also optimize by only calling setPadding when values actually change, setting geometryChanged flag accordingly.
Conditionally removes corner radii, borders, padding, and spacing from status bar buttons, suggestion bar, and variation bar when the Titan2Elite rounded corner insets setting is enabled. This creates a seamless, gapless appearance across UI chrome elements.
Adjust indicator view height calculation to account for requested row height and add bottom inset. Extend side light paths to start from the top of the row when the row is taller than the minimum required height.
Conditionally adjust padding, spacing, margins, and styling of status bar elements based on rounded corner insets setting. Remove padding and borders when rounded corners are enabled, and adjust close button dimensions and positioning accordingly.
Ensure that the chrome height fully covers the surface bottom with no unused band remaining below the indicators in the nested status bar geometry test.
Collaborator
|
thanks for the PR; will look into it. Had it on my list of properly doing rounded corners as the current implementation sucks either way. was thinking about wider outside buttons with non centered icons or an outside padding and then some rounding following the curve of the screen |
Contributor
Author
|
Collaborator
|
Mint! |
Collaborator
Contributor
Author
|
Oh that looks dope |
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
Improve the experimental Titan 2 Elite rounded-corner layout so the keyboard chrome follows the physical screen curves instead of cutting off controls and modifier indicators.
Changes