1138 Commits

Author SHA1 Message Date
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
b7fc767a25 Update MDC Android How-To documentation for GitHub
PiperOrigin-RevId: 190057320
2018-04-03 11:46:33 -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
dniz
db11e53f20 Set Travis CI build tools version to 26.0.2
PiperOrigin-RevId: 189186630
2018-03-15 11:07:30 -04:00
dniz
ea7039f413 Fix sdk and build tools config for Travis CI
PiperOrigin-RevId: 189185124
2018-03-15 10:58:53 -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
shyndman
cd308f93d1 Fixes more CoordinatorLayout.md links.
I think I got all of them this time.

PiperOrigin-RevId: 188793949
2018-03-12 19:33:31 -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
afohrman
9225f4d236 Update gradle build to 28.
PiperOrigin-RevId: 188728500
2018-03-12 12:58:24 -04:00
Material Design Team
9dcb13722d [Docs] Corrected pull request template
PiperOrigin-RevId: 188725518
2018-03-12 12:58:07 -04:00
shyndman
1ba50c54ca Fixes a broken link to CoordinatorLayout in the documentation.
I opted to link to Android Developers, rather than remove the link entirely.

PiperOrigin-RevId: 188725152
2018-03-12 12:57:48 -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