cketcham
f86f266d92
Fix behavior to allow for the widget migration
...
PiperOrigin-RevId: 191488254
2018-04-17 15:50:54 -04:00
cketcham
92a5a10b7b
Automated g4 rollback of changelist 191463510
...
PiperOrigin-RevId: 191478910
2018-04-17 15:50:33 -04:00
Material Design Team
db499557f5
Automated g4 rollback of changelist 191469563
...
PiperOrigin-RevId: 191476123
2018-04-17 15:50:14 -04:00
cketcham
ed779ec084
Add methods to AppBarLayout to allow for widget migration
...
PiperOrigin-RevId: 191469563
2018-04-17 15:49:47 -04:00
cketcham
2e0a4ebbc8
Fix behavior to allow for the widget migration
...
PiperOrigin-RevId: 191463510
2018-04-17 15:49:03 -04:00
cketcham
438ba25c58
Add BottomAppBar attribute to the theme
...
PiperOrigin-RevId: 191448308
2018-04-03 12:10:36 -04:00
dniz
9ae3538d6e
Mark Shapes APIs as experimental
...
PiperOrigin-RevId: 191444301
2018-04-03 12:09:59 -04:00
cketcham
a1f27dfe0b
Fix AppBarLayout generics to allow for widget migration
...
PiperOrigin-RevId: 191439480
2018-04-03 12:09:41 -04:00
dniz
3ea78dd02b
Fix CoordinatorLayout getLastWindowInsets() reflection
...
PiperOrigin-RevId: 191304626
2018-04-03 12:09:09 -04:00
dniz
3f6ba81d6e
Remove library references to widget package
...
PiperOrigin-RevId: 191302154
2018-04-03 12:07:57 -04:00
dniz
2306141b16
Preserve Snackbar inheritence with BaseTransientBottomBar and SwipeDismissBehavior
...
PiperOrigin-RevId: 191293691
2018-04-03 12:05:22 -04:00
dniz
910961412d
Move Snackbar classes and resources from widget/internal to snackbar package
...
PiperOrigin-RevId: 191070265
2018-04-03 12:04:39 -04:00
dniz
0bc8f38d8a
Automated g4 rollback of changelist 190996602
...
PiperOrigin-RevId: 191011241
2018-04-03 12:03:30 -04:00
dniz
85b2b08aec
Move Snackbar classes and resources from widget/internal to snackbar package
...
PiperOrigin-RevId: 190996602
2018-04-03 12:02:29 -04:00
dcarlsson
fa28916b56
Make method to control text field password visibility public instead of private so that clients can override the method.
...
PiperOrigin-RevId: 190932469
2018-04-03 12:02:11 -04:00
Material Design Team
ba1d44b46e
Automated g4 rollback of changelist 190859922
...
PiperOrigin-RevId: 190866477
2018-04-03 12:01:50 -04:00
cketcham
6722bd39ca
Add BottomAppBar attribute to the theme
...
PiperOrigin-RevId: 190859922
2018-04-03 12:00:52 -04:00
cketcham
a87d71a4ae
Move components out of widget
...
PiperOrigin-RevId: 190828084
2018-04-03 11:55:32 -04:00
Material Design Team
704691488d
Small fix for aapt2 regression
...
PiperOrigin-RevId: 190778936
2018-04-03 11:53:04 -04:00
dniz
ade4df00cb
Change Gradle build to output single Maven artifact
...
PiperOrigin-RevId: 190774454
2018-04-03 11:49:01 -04:00
gauthams
45c73bffb0
Only propagate tabIconTint and tabIconTintMode to default icon views, not to custom icon views.
...
PiperOrigin-RevId: 190546523
2018-04-03 11:47:25 -04:00
Material Design Team
e677734c9f
Adds setHelperTextColor() and setErrorTextColor() to TextInputLayout so that colors can be set directly without using text appearance in resource files.
...
PiperOrigin-RevId: 190117856
2018-04-03 11:46:57 -04:00
dniz
886dc4e182
Fix NavigationView MaterialComponents style (remove maxWidth=0)
...
PiperOrigin-RevId: 189904912
2018-04-03 11:46:09 -04:00
cketcham
848795fa39
Add Documentation for BottomAppBar
...
PiperOrigin-RevId: 189775730
2018-04-03 11:45:43 -04:00
Material Design Team
6f9d059ab5
Fix a live crash bug caused by a NullPointerException in BottomSheetBehavior.
...
PiperOrigin-RevId: 189730590
2018-04-03 11:45:25 -04:00
Material Design Team
98c248d5d7
Update Chip content description to announce chip's label without "Chip." prefix.
...
User doesn't need to know the implementation detail that this is the Chip.
PiperOrigin-RevId: 189722701
2018-04-03 11:45:11 -04:00
cketcham
b3494e18c0
Add option to hide BottomAppBar on scroll
...
PiperOrigin-RevId: 189632650
2018-04-03 11:44:44 -04:00
Material Design Team
aab05a3e92
Improve scrolling of HideBottomViewOnScrollBehavior
...
PiperOrigin-RevId: 189228089
2018-04-03 11:43:48 -04:00
cketcham
9084341299
Stop MaterialShapeDrawable shadow being offset in x direction
...
PiperOrigin-RevId: 189073416
2018-03-15 10:58:33 -04:00
cketcham
4da653a284
Fix FAB vertical alignment with different height BottomAppBar
...
Instead of using the height of the BottomAppBar it should use the height of the FAB. The default is for these heights to be the same which is why it was working before.
PiperOrigin-RevId: 189054684
2018-03-15 10:58:11 -04:00
Material Design Team
7363fa5210
Support setting hint text colors in TextInputLayout.
...
PiperOrigin-RevId: 188822351
2018-03-15 10:57:37 -04:00
Material Design Team
0100f31585
Automated g4 rollback of changelist 188751614
...
PiperOrigin-RevId: 188794252
2018-03-12 19:34:02 -04:00
afohrman
3b0ed4aa6c
Fix typos in theme/attrs.xml.
...
PiperOrigin-RevId: 188790462
2018-03-12 19:32:39 -04:00
Material Design Team
16fb95014d
Update TextInputLayout to support setting the default and hint text colors.
...
This is necessary to support changing hint text color at runtime when the color is not already stored as a resource.
PiperOrigin-RevId: 188751614
2018-03-12 19:28:35 -04:00
dniz
81bdf025ca
Update MaterialCardView to use foreground instead of background for stroke
...
- Fixes issue where cardUseCompatPadding attribute was not being respected due to overriding of CardView's background
PiperOrigin-RevId: 188484199
2018-03-12 12:57:24 -04:00
gauthams
8dbb9b24a2
Add snackbarButtonStyle attribute
...
PiperOrigin-RevId: 188410794
2018-03-12 12:57:07 -04:00
gauthams
320b5b38d3
Fix crash in BottomSheetBehavior
...
PiperOrigin-RevId: 188410031
2018-03-12 12:56:46 -04:00
gauthams
2608666d33
Remove alertDialogTheme, not necessary if using AppCompat AlertDialogs
...
PiperOrigin-RevId: 188379434
2018-03-12 12:56:27 -04:00
dniz
5014817935
Update AppBarLayout Behavior to support snapping to child view's margins
...
PiperOrigin-RevId: 188368805
2018-03-12 12:55:50 -04:00
Material Design Team
315954df45
Fix an accessibility tree-node cycle that caused the Accessibility Scanner to crash when scanning the Chips accessibility.
...
PiperOrigin-RevId: 188120065
2018-03-12 12:55:27 -04:00
gauthams
d2d963e248
Fix incorrect alertDialogTheme in light theme
...
PiperOrigin-RevId: 188119922
2018-03-12 12:55:16 -04:00
Material Design Team
b0496f1572
Make material-design shapes depend on compat only.
...
In support library we hit the issue, that we run out of fields numbers.
It happens due to R files that duplicate reference on the resources.
PiperOrigin-RevId: 188043913
2018-03-12 12:54:51 -04:00
cketcham
50e96399fa
Handle BottomAppBar with no FAB
...
This change allows the BottomAppBar to not show a cutout if the FAB is not anchored to it using the CoordinatorLayout anchorId, or if the FAB is not visible. This change also allows the BottomAppBar to listen to show/hide animation changes so it can synchronize its animation to hide and show the cradle with the animation to hide and show the FAB.
PiperOrigin-RevId: 188024600
2018-03-12 12:54:31 -04:00
Material Design Team
1bd0b7f129
Automated g4 rollback of changelist 187953030
...
PiperOrigin-RevId: 187959742
2018-03-12 12:54:16 -04:00
gauthams
b7d57944ef
Add snackbarButtonStyle attribute
...
PiperOrigin-RevId: 187953030
2018-03-12 12:54:01 -04:00
gauthams
00efc03a35
Fix button theming issue when alert dialog was created with no style specified
...
PiperOrigin-RevId: 187930168
2018-03-12 12:53:49 -04:00
gauthams
68f703ffba
Add tab indicator animation duration attribute, and set it for our tab styles
...
PiperOrigin-RevId: 187663452
2018-03-12 12:53:24 -04:00
gauthams
f9dec1498f
Inflate MaterialButton for all <Button> tags if you are using a Material Design theme
...
PiperOrigin-RevId: 187563154
2018-03-12 12:53:06 -04:00
gauthams
eeb68dae87
Update button padding when button icon is set programmatically
...
PiperOrigin-RevId: 187236867
2018-03-12 12:52:53 -04:00
gauthams
70ab609d74
Tab indicator should match width of entire custom view, if provided, not just custom text and icon view
...
PiperOrigin-RevId: 187236554
2018-03-12 12:52:35 -04:00