Skip to content

Migrate views to Material Components 1.14.0#7

Merged
colemancda merged 5 commits into
masterfrom
feature/material-components
Jul 22, 2026
Merged

Migrate views to Material Components 1.14.0#7
colemancda merged 5 commits into
masterfrom
feature/material-components

Conversation

@colemancda

Copy link
Copy Markdown
Member

Overview

Begins migrating view rendering from framework android.widget.* to Material Components for Android 1.14.0, so controls pick up Material 3 styling, theme colors, and dark mode support.

Changes

  • Material Components 1.14.0 added to the demo (com.google.android.material:material via the version catalog).
  • App theme migrated from android:Theme.Material.Light.NoActionBar to Theme.Material3.DayNight.NoActionBar — required for MDC widgets to construct, gives every widget Material 3 styling and surface tinting, and adds automatic dark mode support.
  • Button renders with MaterialButton — a drop-in since the binding extends Button; text label variants get the filled Material 3 style with theme colors and full rounding.
  • Divider renders with MaterialDivider — replaces the hand-rolled 2px translucent view with the self-styling Material divider (theme outline color, 1dp, dark mode aware).

Not yet migrated

  • TextMaterialTextView is queued behind Add MaterialTextView binding Android#44, which adds the missing binding (already verified at runtime against this branch).
  • The image Button variant stays on ImageButton (needs Drawable plumbing for MaterialButton icons).
  • TabView (TabLayout/BottomNavigationView need menu and listener bridges) and sheet presentation via BottomSheetDialog/BottomSheetBehavior (would bring real drag-between-detents) are natural follow-ups.

Testing

Verified on an emulator (API 36, arm64) with the gallery app: Material 3 theme applied throughout, buttons render in the filled Material style with working click handling, and dividers render with the theme outline color.

@colemancda
colemancda merged commit ca16a26 into master Jul 22, 2026
6 checks passed
@colemancda
colemancda deleted the feature/material-components branch July 22, 2026 00:26
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