Material3 redesign#2
Merged
Merged
Conversation
- Migrate to Theme.Material3.DayNight with day/night color tokens - Switch dark-mode toggle to AppCompatDelegate (no activity-recreate flash) - Use MaterialToolbar with neutral surface styling - Restyle KeyboardView: theme-driven role colors (digit / letter / operator / action), rounded keys with 4dp gaps, vector icons for Enter/Backspace/Toggle, ARGB_8888 bitmap - Bump portrait keyboard heights to clear 48dp touch targets (alpha 156→192dp, digits 184→224dp) - Wrap result/input in MaterialCardView surface; refresh history and defs typography - Drop legacy AppCompat theme, hard-coded color palette, and obsolete color selectors Functionality preserved: parser, evaluator, graph backends, history persistence, custom Editable, screenshot path, Unicode operator canonicalization, kostuli merged keyboard cells, and the above-view touch passthrough.
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
Theme.Material3.DayNightwith day/night color tokens; drop the legacy AppCompat theme, hardcoded color palette, andobsolete color selectors.
AppCompatDelegate.setDefaultNightModeso the activity-recreate flash is gone. Samedark_themeSharedPreference, same on-disk semantics.
KeyboardViewin place: theme-driven role colors (digit / letter / operator / action), 12dp rounded keyswith 4dp gaps, vector icons for Enter / Backspace / Toggle, ARGB_8888 bitmap. Touch logic (kostuli merged cells, above-view
passthrough) preserved verbatim.
refreshed history list and defs empty-state typography.
Functionality preserved: parser, evaluator, graph backends (2D/3D), history persistence, custom
Editable, screenshot path,Unicode operator canonicalization.