r/androiddev • • Aug 05 '20

News Material Components Release 1.2.0

https://github.com/material-components/material-components-android/releases/tag/1.2.0
136 Upvotes

19 comments sorted by

24

u/sudhirkhanger Aug 05 '20

What's New Since 1.1.0?

  • Transition/Motion subsystem

  • Slider

  • ShapeableImageView

Library Updates

  • MaterialButton added support for android:background

  • BottomSheet added support for window insets when peeking

  • Opened access to MaterialColors

  • Accessibility improvements

  • Developer docs updates

  • Stability and quality improvements

  • Improvements to the following components:

    • Button

    • Badge

    • Bottom App Bar

    • Card

    • Chip

    • CollapsingToolbarLayout

    • Date Picker

    • Floating Action Button

    • Menu

    • Snackbar

    • TabLayout

    • Text Field

    • Toggle Button Group

6

u/[deleted] Aug 05 '20

[removed] — view removed comment

60

u/Nickx000x Aug 05 '20

No because that would be too convenient

21

u/Jazzinarium Aug 05 '20

Lol that's Android UI design/development in a nutshell

4

u/skyyoo_ Aug 05 '20 edited Aug 05 '20

Nope, but you can set the shape using style. Or by creating shape programatically.

2

u/[deleted] Aug 05 '20

[removed] — view removed comment

4

u/skyyoo_ Aug 05 '20

Triangle shaped imageView? Yes, a shape with cut corners. I personally use it for rounded pictures.

5

u/carstenhag Aug 05 '20

Sadly, Slider does not (currently) support adding a thumb draealble :(

5

u/gardyna Aug 05 '20

.... wait what is the difference between material components slider and the default slider (read: seekbar) in the framework? the built in object allows you to change the drawable. And honestly just a tiny amount of theme-ing and you can match the material components one easily

1

u/bernaferrari Aug 05 '20

Theming + Accessibility improvements + things like when a slider is in a list, the slider only moves after your finger slides 20px.