Skip to content

Material3 redesign#2

Merged
NaikSoftware merged 2 commits into
masterfrom
material3-redesign
May 9, 2026
Merged

Material3 redesign#2
NaikSoftware merged 2 commits into
masterfrom
material3-redesign

Conversation

@NaikSoftware

Copy link
Copy Markdown
Owner

Summary

  • Migrate to Theme.Material3.DayNight with day/night color tokens; drop the legacy AppCompat theme, hardcoded color palette, and
    obsolete color selectors.
  • Switch dark-mode toggle to AppCompatDelegate.setDefaultNightMode so the activity-recreate flash is gone. Same dark_theme
    SharedPreference, same on-disk semantics.
  • Restyle the custom KeyboardView in place: theme-driven role colors (digit / letter / operator / action), 12dp rounded keys
    with 4dp gaps, vector icons for Enter / Backspace / Toggle, ARGB_8888 bitmap. Touch logic (kostuli merged cells, above-view
    passthrough) preserved verbatim.
  • Bump portrait keyboard heights to clear the 48dp Material 3 minimum (alpha 156→192dp, digits 184→224dp). Landscape unchanged.
  • MaterialToolbar with neutral surface; MaterialCardView around the result/input area with surface-step depth (no shadow);
    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.

- 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.
@NaikSoftware NaikSoftware merged commit d102914 into master May 9, 2026
1 check failed
@NaikSoftware NaikSoftware deleted the material3-redesign branch May 9, 2026 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant