dniz
d1cd5d451f
Only use window insets for Snackbar (BaseTransientBottomBar) bottom margin if
...
anchor view is not provided
PiperOrigin-RevId: 230532747
2019-01-25 13:54:48 -05:00
dniz
11df79f95c
Clean up Gradle build shorthands for appcompat/androidx libraries
...
PiperOrigin-RevId: 229369959
2019-01-18 14:13:26 -05:00
cketcham
dc72aaeed4
Migrate Gradle build and sources to androidx
...
PiperOrigin-RevId: 225551505
2018-12-21 11:07:45 -05:00
dniz
a185866318
Add support for materialThemeOverlay to Snackbar styles
...
PiperOrigin-RevId: 222090189
2018-12-06 11:12:31 -05:00
dniz
4dc914d737
Add Snackbar backgroundColorOverlayAlpha attribute
...
PiperOrigin-RevId: 222075167
2018-11-26 07:56:47 -05:00
dniz
d03f490740
Snackbar update label text color to new color system
...
PiperOrigin-RevId: 218861625
2018-10-28 21:42:33 -04:00
dniz
868e80ed6f
Add support for anchoring Snackbars to Views so they can be placed above
...
navigational elements and FABs
This commit also disables the pushing up of FABs when an anchor view is set
PiperOrigin-RevId: 214287486
2018-09-28 16:24:01 -04:00
dniz
e48d3d73a6
Add Snackbar animationMode attr to public values
...
PiperOrigin-RevId: 214048648
2018-09-28 16:18:58 -04:00
dniz
8064a7672f
New enter and exit animations for Snackbars
...
- 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
2018-09-28 16:10:27 -04:00
dniz
3dc5733f36
Update Snackbar to use new color system
...
PiperOrigin-RevId: 212275277
2018-09-14 10:52:33 -04:00
dniz
919f2183f2
Change Snackbar to use margin instead of padding for window inset positioning
...
PiperOrigin-RevId: 210554683
2018-08-28 16:43:13 -04:00
dniz
979e577681
Consume all Snackbar touches with OnTouchListener
...
PiperOrigin-RevId: 206316703
2018-08-02 18:01:36 -07:00
dniz
fa9d470741
Fix Snackbar issue where touches are not consumed for non-a11y users and add dismiss action for a11y users
...
PiperOrigin-RevId: 205450300
2018-07-20 18:27:32 -04:00
gauthams
2cf1040ca8
Add bridge themes for Material Components
...
PiperOrigin-RevId: 204852599
2018-07-17 18:11:24 -04:00
marianomartin
f777c67633
Override snackbar duration for touch exploration
...
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
2018-07-17 18:10:38 -04:00
cketcham
2cb77c9331
Update Snackbar documentation to include LENGTH_INDEFINITE
...
PiperOrigin-RevId: 203952007
2018-07-11 15:17:32 -04:00
dniz
21dff0f641
Update MaterialComponents Snackbar to use themed text appearance
...
PiperOrigin-RevId: 202532773
2018-07-02 09:47:41 -04:00
dniz
b1a784ce75
Implement new Material Snackbar according to spec
...
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
2018-07-02 09:41:41 -04:00
afohrman
0518a3d651
Add missing public attributes.
...
Looks like some styles and component style attributes slipped by.
PiperOrigin-RevId: 198762794
2018-05-31 16:35:29 -04:00
marianomartin
663fd7abff
add res-public files
...
PiperOrigin-RevId: 198567215
2018-05-30 17:42:48 -04:00
marianomartin
7aff9d2e8b
Snackbar, not animating only when talkback is turned on
...
PiperOrigin-RevId: 196714687
2018-05-16 11:45:09 -04:00
Material Design Team
e37dc2a82e
Create @SnackbarDuration for Snackbar class.
...
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
2018-05-03 14:36:31 -04:00
dniz
9ca33544ac
Update package name to com.google.android.material
...
PiperOrigin-RevId: 193236235
2018-04-30 11:24:23 -04:00