leticiars
816f080be2
Fixing helper text disappearing when setError(null) is called and the error is already null.
...
Resolves https://github.com/material-components/material-components-android/issues/525
Resolves https://github.com/material-components/material-components-android/pull/737
PiperOrigin-RevId: 279121898
2019-11-07 16:11:49 -05:00
leticiars
4bff089310
Making sure hoveredFilledBackgroundColor defaults to default color if not set on a stateful CSL instead of to the disabled color.
...
PiperOrigin-RevId: 279120861
2019-11-07 16:11:23 -05:00
ldjesper
c097d3d335
Separate date format string from date hint string in MaterialDatePicker for better hints.
...
Resolves https://github.com/material-components/material-components-android/issues/695
PiperOrigin-RevId: 279095896
2019-11-07 16:10:05 -05:00
Mattia
d29daab572
[TextInputLayout] focusedStrokeColor should take into account the enabled color
...
Resolves https://github.com/material-components/material-components-android/pull/734
GIT_ORIGIN_REV_ID=36549f1519805be416aaf75cbb67be948c4b02e7
PiperOrigin-RevId: 278910639
2019-11-07 16:07:36 -05:00
marianomartin
5c922b4140
Add getter for listener to SwipeDismissBehavior
...
PiperOrigin-RevId: 278862529
2019-11-07 16:07:07 -05:00
connieshi
b58d3481c3
Restore padding after #setRippleColor update a chip's background.
...
PiperOrigin-RevId: 278660797
2019-11-06 10:18:27 -05:00
dniz
7f043206c0
Update ElevationOverlayProvider compositeOverlay() to preserve original background color alpha
...
PiperOrigin-RevId: 278625128
2019-11-06 10:17:01 -05:00
marianomartin
95c110bea2
Fix swipe dismiss behavior
...
PiperOrigin-RevId: 278624814
2019-11-06 10:15:20 -05:00
connieshi
de005027bc
Fix bug in bottom navigation badge state restoration that did not set the badges on the menu item views.
...
Update catalog demo to save and restore states in the bottom navigation demos.
PiperOrigin-RevId: 278436621
2019-11-06 10:14:43 -05:00
marianomartin
56fbbe9ee5
Fix BottomNavigationView SavedState bug for null loader
...
Resolves https://github.com/material-components/material-components-android/issues/549
PiperOrigin-RevId: 278416562
2019-11-06 10:13:46 -05:00
haodong
7bcd5f606e
Fixed popup menu on action bar.
...
* Made sure light/dark theme always shows popup menu in corresponding theme.
* Increased contrast of text in popup menu in dark theme.
PiperOrigin-RevId: 278397458
2019-11-04 13:09:28 -05:00
leticiars
27f7f4c6ba
Fixing text field icons that are not clickable having ripple effect when text field is pressed.
...
Non clickable ImageViews inherit pressed state of parent views, so icons appeared as pressed even if they were not clickable/focusable.
PiperOrigin-RevId: 278381886
2019-11-04 13:05:10 -05:00
leticiars
61c00d746e
Updating boxBackgroundColor filled text fields attr documentation to specify that default colors are used for hover and disabled states when a non stateful resource is specified.
...
PiperOrigin-RevId: 277983799
2019-11-04 13:04:16 -05:00
nkotula
8ca8e1bbdd
[TextInputLayout] Add support for focused background color
...
Resolves https://github.com/material-components/material-components-android/pull/724
GIT_ORIGIN_REV_ID=8b272d736167cd0bff236b47049e247e3ec383a5
PiperOrigin-RevId: 277959398
2019-11-04 13:03:21 -05:00
hunterstich
f89b09f512
Add onBackground ColorStateLists
...
PiperOrigin-RevId: 277818139
2019-11-04 13:02:40 -05:00
haodong
7708ca4db1
Automated g4 rollback of changelist 277103254
...
PiperOrigin-RevId: 277545348
2019-11-01 13:28:40 -07:00
dniz
aa7d83333e
Add popupMenuBackground theme attribute and combine light and dark Menu styles
...
into one style that references the new attribute
PiperOrigin-RevId: 277340044
2019-11-01 13:28:40 -07:00
xxfast
45bfd96a61
[Slider] Fix slider to invalidate after set value
...
Resolves https://github.com/material-components/material-components-android/pull/720
GIT_ORIGIN_REV_ID=e1eaf165d734b1c60c05116d200af4ff6f5c583e
PiperOrigin-RevId: 277319683
2019-11-01 13:28:40 -07:00
hunterstich
fdc243959f
Update ExtendedFAB to use ShapeAppearanceModel.PILL
...
PiperOrigin-RevId: 277302581
2019-11-01 13:28:40 -07:00
Nikita
b575fc78dd
Improve scroll behavior of MaterialCalendar on low end devices
...
Resolves https://github.com/material-components/material-components-android/pull/711
GIT_ORIGIN_REV_ID=7808f83d1c4de45711aae4c5f1740506b5484c1c
PiperOrigin-RevId: 277201251
2019-11-01 13:28:40 -07:00
cketcham
b9f8ee94b3
Adding option to enable and disable bottom inset padding for BottomAppBar
...
Resolves https://github.com/material-components/material-components-android/issues/580
This adds the paddingBottomSystemWindowInsets attribute which is a databinding extension that will probably be part of https://github.com/chrisbanes/insetter
PiperOrigin-RevId: 277139485
2019-11-01 13:28:40 -07:00
haodong
5db6b5f2f8
Automated g4 rollback of changelist 275944003
...
PiperOrigin-RevId: 277103254
2019-11-01 13:28:40 -07:00
Material Design Team
de92a9fa3b
Expand TLM to TabLayoutMediator in Javadoc
...
This makes it consistent with the rest of the references in the Javadoc.
PiperOrigin-RevId: 277090650
2019-11-01 13:28:40 -07:00
leticiars
5a57937111
Automated g4 rollback of changelist 276353549
...
PiperOrigin-RevId: 276701861
2019-11-01 13:28:40 -07:00
cketcham
4e1da2a4be
Update Slider to use RippleDrawable for Lollipop and above
...
PiperOrigin-RevId: 276528198
2019-11-01 13:28:40 -07:00
marianomartin
9fc1377755
[MaterialButtonToggleGroup] Fix corners after changing view visibility
...
People might want to set some of the buttons to GONE, this cl makes sure
the shape appearances remain coherent after doing so dynamically.
Resolves https://github.com/material-components/material-components-android/issues/693
PiperOrigin-RevId: 276508915
2019-11-01 13:28:40 -07:00
leticiars
3f170183cb
Automated g4 rollback of changelist 276320000
...
PiperOrigin-RevId: 276353549
2019-11-01 13:28:40 -07:00
leticiars
625f608012
Adding android:enabled attribute to the TextInputLayout.
...
Resolves https://github.com/material-components/material-components-android/issues/646
PiperOrigin-RevId: 276320000
2019-11-01 13:28:40 -07:00
marianomartin
ffb86260ee
Add back getInsetDodgeRect to preserve compatibility
...
PiperOrigin-RevId: 276202553
2019-11-01 13:28:40 -07:00
leticiars
d0307dc974
Error icon should only be visible if error is enabled.
...
Resolves https://github.com/material-components/material-components-android/issues/587
PiperOrigin-RevId: 276153474
2019-11-01 13:28:40 -07:00
haodong
8c8eaac2b1
Automated g4 rollback of changelist 275859720
...
PiperOrigin-RevId: 275944003
2019-11-01 13:28:40 -07:00
haodong
69e399f9c4
Updated TextInputLayout to support empty string as error message.
...
PiperOrigin-RevId: 275859720
2019-11-01 13:28:40 -07:00
cketcham
cb5d7da2ff
Fix format for slider attrs
...
PiperOrigin-RevId: 275560132
2019-11-01 13:28:40 -07:00
Chaoyang0201
632675e1a8
[BadgeDrawable] add horizontal and vertical offset to control position
...
Resolves https://github.com/material-components/material-components-android/pull/638
Resolves https://github.com/material-components/material-components-android/issues/630
Co-authored-by: wcshi <connieshi@google.com>
GIT_ORIGIN_REV_ID=511c955a11e05fdc0848c74938c4c194da22826e
PiperOrigin-RevId: 275522709
2019-11-01 13:28:23 -07:00
marianomartin
115313c0c0
Expose a class for themeoverlay in style
...
This moves functionality from ThemeEnforcement into a stand alone class.
Resolves https://github.com/material-components/material-components-android/issues/665
PiperOrigin-RevId: 275481343
2019-10-21 10:24:19 -04:00
leticiars
3a21a881d0
Updating filled text fields to use new colors for states a11y.
...
PiperOrigin-RevId: 275024556
2019-10-21 10:23:14 -04:00
Material Design Team
c47e6a4e3f
Set threshold for hiding the bottom sheet so that dragging it down doesn't accidently dismiss it.
...
PiperOrigin-RevId: 274646607
2019-10-21 10:22:32 -04:00
cketcham
10c0f62972
Fix FAB placement relative to the BottomAppBar when system insets change
...
PiperOrigin-RevId: 274158808
2019-10-21 10:19:14 -04:00
Mattia Pagini
a05b3a5c79
[ChipGroup] Added a method to get the selected ids
...
Resolves https://github.com/material-components/material-components-android/pull/667
GIT_ORIGIN_REV_ID=185fec8087c2a9c7186a2565330c797dd994dfb8
PiperOrigin-RevId: 274013304
2019-10-10 15:54:45 -04:00
ldjesper
394bac6be0
Add MaterialDatePicker style and theme attributes to public.xml
...
Resolves https://github.com/material-components/material-components-android/issues/664
PiperOrigin-RevId: 273854001
2019-10-10 15:53:13 -04:00
ldjesper
60da1489fd
Provide users with more control over a11y handling with BottomSheet
...
Resolves https://github.com/material-components/material-components-android/issues/519
Update the catalog to demonstrate usage
PiperOrigin-RevId: 273757779
2019-10-10 15:51:39 -04:00
leticiars
a58a82354e
Fixing outlined error color when focused.
...
PiperOrigin-RevId: 273742930
2019-10-10 15:51:01 -04:00
ldjesper
9cd22eb30a
Sentence case all non-titles in MaterialDatePicker
...
PiperOrigin-RevId: 273592300
2019-10-10 15:50:29 -04:00
leticiars
dc88b3e45f
Adding setBoxStrokeColorStateList method so that the outlined text field stroke color accepts a color state list.
...
Resolves https://github.com/material-components/material-components-android/issues/593
PiperOrigin-RevId: 273577122
2019-10-10 15:50:02 -04:00
ldjesper
7dc56dfcdd
Simplify TextField drawable resources
...
https://github.com/material-components/material-components-android/issues/611
PiperOrigin-RevId: 273544807
2019-10-10 15:48:39 -04:00
marianomartin
24ab59af6c
Support orientation VERTICAL in MaterialButtonToggleGroup
...
Resolves https://github.com/material-components/material-components-android/issues/476
PiperOrigin-RevId: 273514626
2019-10-08 10:35:08 -04:00
marianomartin
f71d80a960
[NavigationView] Logic error when drawing nav bar scrim
...
Resolves https://github.com/material-components/material-components-android/issues/629
PiperOrigin-RevId: 273365055
2019-10-08 10:34:29 -04:00
marianomartin
a405dd9664
Change MaterialButtonToggleGroup to extend LinearLayout
...
PiperOrigin-RevId: 272989081
2019-10-04 20:39:01 -04:00
dniz
ab54c23e9b
Fix MaterialShapeDrawable stroke corner bug
...
PiperOrigin-RevId: 272977992
2019-10-04 20:09:24 -04:00
ldjesper
294f12498d
Rename setCornerRadius to setAllCornerSizes
...
PiperOrigin-RevId: 272959729
2019-10-04 20:08:43 -04:00