Skip to content

Instantly share code, notes, and snippets.

@ricknout
Last active October 2, 2024 04:11
Show Gist options
  • Save ricknout/bf93d2237ee98895c635764333d9fc37 to your computer and use it in GitHub Desktop.
Save ricknout/bf93d2237ee98895c635764333d9fc37 to your computer and use it in GitHub Desktop.
Design Support Library to MDC widget mapping table
MDC-Android widget (moved from Design Support Library) Design Support Library default style MDC-Android default style Default style attr
AppBarLayout Widget.Design.AppBarLayout Widget.MaterialComponents.AppBarLayout.* appBarLayoutStyle
BottomNavigationView Widget.Design.BottomNavigationView Widget.MaterialComponents.BottomNavigationView bottomNavigationStyle
BottomSheetBehavior Widget.Design.BottomSheet.Modal Widget.MaterialComponents.BottomSheet.* bottomSheetStyle
BottomSheetDialog
BottomSheetDialogFragment
Theme.Design.Light.BottomSheetDialog Theme.MaterialComponents.*.BottomSheetDialog
ThemeOverlay.MaterialComponents.*.BottomSheetDialog
bottomSheetDialogTheme
CollapsingToolbarLayout Widget.Design.CollapsingToolbar N/A N/A
FloatingActionButton Widget.Design.FloatingActionButton Widget.MaterialComponents.FloatingActionButton floatingActionButtonStyle
NavigationView Widget.Design.NavigationView Widget.MaterialComponents.NavigationView navigationViewStyle
Snackbar Widget.Design.Snackbar Widget.MaterialComponents.Snackbar snackbarStyle
TabLayout
TabItem
Widget.Design.TabLayout Widget.MaterialComponents.TabLayout tabStyle
TextInputLayout
TextInputEditText
Widget.Design.TextInputLayout Widget.MaterialComponents.TextInputLayout.* textInputStyle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment