Releases: material-components/material-components-android
Releases · material-components/material-components-android
1.1.0-alpha05
- Add elevation overlays support for dark theme in BottomAppBar (d1b56c3), BottomNavigationView (d6cb349), Bottomsheet (a192f47), Chip (6ebcd64) Dialogs (19b6960), FloatingActionButton (3f43a2a), MaterialButton (5848f1f), MaterialCardView (1a1788a), Switch (f0c4e8b); demo (7b59439)
- Add MaterialButtonToggleGroup (cad9d7d) and demo (4895151)
- Add MotionSpec support to ExtendedFloatingActionButton (abbec48)
- Add Menu overlay color for APIs 23+ (912045f)
- Add OnChangedListener to respond to ShapeAppearanceModel changes and Shapeable interface, and implement it in Chip (ca07e5f)
- Add API to set height of a half expanded Bottomsheet, in proportion to parent height (5aebe1a)
- Update surface colors to match spec (760a99f)
- Update BottomSheetBehavior to use Nested Scrolling 3 (d6f7b7c)
- Adding support for TextInputLayout start icon (2642ff2)
- Support disabling min touch target size in FloatingActionButton (05bc557)
- Composite chip surface and background color to reduce ovedraw (3bd6fd4)
- Change MaterialCardView's strokeColor to be a ColorStateList (8b277ed)
- Remove background from MaterialComponents Fab style (fd4d662)
- Update MaterialButton checked colors (bc33a80)
- Update BottomNavigationView's Widget.MaterialComponents style variants to use MaterialShapeDrawable (a1f6a72)
- Change setElevation in MaterialShapeDrawable to use default offset (01874ad)
- Improve MaterialButton Talkback support (3bce1b6)
Full list of changes: 1.1.0-alpha04...1.1.0-alpha05
1.1.0-alpha04
- Add Extended FAB component (63d11da) and demo (b701cea)
- Fix clipped edges of the filled text field's underline (beee015)
- Add shadows to
MaterialButtonfor APIs below 21 (75db215) - Add
BottomSheetBehaviorSavedStateAPI (901ba79) - Fix double underline that appeared when using a
TextInputLayoutwith a non-TextInputEditTextstyle for theEditTextchild (41d919a) - Update
chipSpacingHorizontalto 8dp match spec. (6f73e58) - Make
CircularRevealCardViewextendMaterialShapeDrawable(f42e432) - Add bridge themes for
Dialog(5287b8e) - Add checked state to
MaterialButton(441877f) - Fix padding of
TextInputEditTextwhen an icon is present (b7f520d) - Fix
MaterialShapeDrawablebug that caused both compat and native shadows to be drawn for round rects in 21+ (c0de00c) - Add
SCROLL_FLAG_NO_SCROLLflag forAppBarLayout.LayoutParams(76a9b23) - Adding support for a custom end icon for the
TextInputLayout. (5685941) - Add an attribute for
materialButtonOutlinedStyle(991927f)
Full list of changes: 1.1.0-alpha03...1.1.0-alpha04
1.1.0-alpha03
- Update CoordinatorLayout to Version 1.1.0-alpha01 and update AppBarLayout to NestedScrolling3 API (80aedb9)
The previously existing
onNestedScroll(CoordinatorLayout, V, View, int, int, int, int, int)has been deprecated in favor of the newonNestedScroll(CoordinatorLayout, V, View, int, int, int, int, int, int[])andBehaviorimplementations should be updated accordingly.If developer code currently overrides
CoordinatorLayout#onNestedScroll(View, int, int, int, int, int), it will likely no longer be called andCoordinatorLayout#onNestedScroll(View, int, int, int, int, int, int[])should be overridden instead. - Support checkable in MaterialCardView (4cbe3b1)
- Add backgroundTint support to BottomNav (a083017)
- Add Icon Padding with an insetDrawable in menus (560adc6)
- Updated Chip to support dynamically changing texts in RTL layout (a0ab1c2)
- Remember the selected item when adding items to BottomNavigation's menu (0055c66)
- Fixing focus order when text fields have the password toggle enabled. (9a30c93)
- Fix non-scrollable bottomsheet corners when set directly to STATE_EXPANDED (c94b520)
- Fix NPE in BottomSheetBehavior onViewReleased (41daf80)
- Only use window insets for Snackbar (BaseTransientBottomBar) bottom margin if anchor view is not provided (d1cd5d4)
- Support custom backgrounds for outline text fields and use EditText's background for the text field's outline. (0aa470a)
- Use stroke width to determine whether a stroke should be drawn for MaterialCardView. (6362e72)
Full list of changes: 1.1.0-alpha02...1.1.0-alpha03
1.1.0-alpha02
- Shape Theming: FloatingActionButton, MaterialButton, Chip, MaterialCardView, BottomSheet, & TextInputLayout updated to use the new Material shape system
- Accessibility fixes for MaterialButton and Selection Controls (Checkboxes, RadioButtons, & Switches)
- New MaterialAlertDialogBuilder class for Material themed dialogs (WIP)
- Fix BottomAppBar Invalid Region crash on Android P (#235)
1.1.0-alpha01
- Typography Theming: All components updated to use the new Material type system
- Color Theming: All components updated to use the new Material color system
- Shape Theming: Infrastructure for the new Material shape system (components to be updated in upcoming release)
- Selection Controls: Added Material Checkbox, Radio Button, and Switch to support new theming systems
- Updated dark theme & color palette (
Theme.MaterialComponents) - New Snackbar styling and behavior
- New Menu styling
- More flexible AlertDialog title and icon positioning (
alertDialogTitlePanelStyle,alertDialogTitleIconStyle, &alertDialogTitleTextStyle) - BottomAppBar shadow + scale and slide FAB animations (
fabAnimationMode) - Chip accessibility improvements
- AppBarLayout liftOnScroll support for non-sibling scrolling children (
liftOnScrollTargetViewId) - MaterialCardView touch ripple + stroke and fill improvements
- Bug fixes and improvements