Skip to content

Complete Material 3 migration with unified edge-to-edge#540

Merged
kasnder merged 3 commits intomasterfrom
claude/material3-migration-kjcQJ
Apr 6, 2026
Merged

Complete Material 3 migration with unified edge-to-edge#540
kasnder merged 3 commits intomasterfrom
claude/material3-migration-kjcQJ

Conversation

@kasnder
Copy link
Copy Markdown
Member

@kasnder kasnder commented Apr 3, 2026

Replace the manual edge-to-edge workaround in ApplicationEx (which only
handled Android 15+ with custom insets/padding/background hacks) with a
single EdgeToEdge.enable() call that works across all API levels. This
uses SystemBarStyle.dark(colorPrimaryDark) for the status bar and
transparent auto-scrim for the navigation bar.

  • Remove AppTheme.EdgeToEdge style and DetailsActivity manual setup
  • Migrate all AlertDialog.Builder → MaterialAlertDialogBuilder (7 files)
  • Migrate all TextAppearance.AppCompat → Material3 equivalents in XML
  • Migrate all Widget.AppCompat.Button → Material3 equivalents in XML
  • Migrate Theme.AppCompat/MaterialComponents → Material3 in layouts
  • Update ActionBarTitleText and text utility styles to M3 parents
  • Add explicit androidx.activity dependency for EdgeToEdge API

https://claude.ai/code/session_01AKoCWnAeeHrRa4KjngEiTM

claude added 3 commits April 5, 2026 13:52
Replace the manual edge-to-edge workaround in ApplicationEx (which only
handled Android 15+ with custom insets/padding/background hacks) with a
single EdgeToEdge.enable() call that works across all API levels. This
uses SystemBarStyle.dark(colorPrimaryDark) for the status bar and
transparent auto-scrim for the navigation bar.

- Remove AppTheme.EdgeToEdge style and DetailsActivity manual setup
- Migrate all AlertDialog.Builder → MaterialAlertDialogBuilder (7 files)
- Migrate all TextAppearance.AppCompat → Material3 equivalents in XML
- Migrate all Widget.AppCompat.Button → Material3 equivalents in XML
- Migrate Theme.AppCompat/MaterialComponents → Material3 in layouts
- Update ActionBarTitleText and text utility styles to M3 parents
- Add explicit androidx.activity dependency for EdgeToEdge API

https://claude.ai/code/session_01AKoCWnAeeHrRa4KjngEiTM
Without the explicit dark status bar style, EdgeToEdge.enable() defaults
to transparent, and M3's light theme makes the status bar invisible.

https://claude.ai/code/session_01AKoCWnAeeHrRa4KjngEiTM
The M3 migration section was completed work, not actionable. The
important warning about dark status bar style now lives as a comment
next to the EdgeToEdge.enable() call where it's most useful.

https://claude.ai/code/session_01AKoCWnAeeHrRa4KjngEiTM
@kasnder kasnder force-pushed the claude/material3-migration-kjcQJ branch from 34b2b93 to ab3de53 Compare April 5, 2026 13:52
@kasnder kasnder merged commit eec898a into master Apr 6, 2026
1 check passed
@kasnder kasnder deleted the claude/material3-migration-kjcQJ branch April 6, 2026 08:14
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.

2 participants