- Original slide animation will be used for Widget.Design and unstyled Snackbars
- New fade + scale animation will be used for Widget.MaterialComponents Snackbars
PiperOrigin-RevId: 213669605
Show the Snackbar for indefinite time if touch exploration is enabled and it has an action.
Also make focusable instead of clickable so it doesn't read double tap to interact
PiperOrigin-RevId: 204821491
This commit updates MaterialComponents Snackbars to have margins and rounded corners, as well as makes Snackbars styleable at the app theme level via a snackbarStyle attribute.
PiperOrigin-RevId: 202141103
Snackbar had methods with params annotated with @BaseTransientBottomBar.Duration which uses BaseTransientBottomBar.LENGTH_SHORT, ... constants, which means Android lint will complain if you try to call Snackbar#make with Snackbar.LENGTH_SHORT and tell you to instead use BaseTransientBottomBar.LENGTH_SHORT which is silly. This works around this issue.
PiperOrigin-RevId: 195269921