connieshi
c1c55475f3
Suppress ClickableViewAccessibility lint error in Chip#onTouchEvent.
...
PiperOrigin-RevId: 271128148
2019-09-26 17:55:16 -04:00
isabellekim
3fba0eeade
Move material theme overlays into their own file.
...
PiperOrigin-RevId: 271127788
2019-09-26 17:54:53 -04:00
connieshi
230ed9263f
Add null checks to avoid NPE when tabs that have badges are reset .
...
Resolves https://github.com/material-components/material-components-android/issues/620
PiperOrigin-RevId: 271126107
2019-09-26 17:54:25 -04:00
Material Design Team
46366ad435
Automated g4 rollback of changelist 270969395
...
PiperOrigin-RevId: 271016488
2019-09-26 17:54:00 -04:00
isabellekim
2f740c73e3
Update Snackbar's application of backgroundTint so that it applies a tint on a colored background to keep the shadow.
...
PiperOrigin-RevId: 270970055
2019-09-26 17:53:38 -04:00
Material Design Team
81c967c6a1
Fix broken scrolling when content in the bottom sheet uses nestedScrollingEnabled="false"
...
PiperOrigin-RevId: 270969395
2019-09-26 17:53:08 -04:00
melaniegoetz
17e3e18edb
Automated g4 rollback of changelist 270730347
...
PiperOrigin-RevId: 270959699
2019-09-26 17:52:44 -04:00
melaniegoetz
fd56af53c7
Adjust BottomSheet peek height based on insets
...
PiperOrigin-RevId: 270730347
2019-09-24 12:22:28 -04:00
cketcham
cbfc677db4
Add nullability annotation to BottomSheetDialogFragment
...
This matches the method from AppCompatDialogFragment
PiperOrigin-RevId: 270345625
2019-09-24 12:22:10 -04:00
isabellekim
95af724ca4
Updates snackbar to support app:backgroundTint and app:backgroundTintMode.
...
Also adds ability to setBackgroundTintMode programmatically.
PiperOrigin-RevId: 270337384
2019-09-24 12:20:17 -04:00
Sam
a610215b77
[MaterialButton] Fixed issue 531 by removing unnecessary calls to set compound drawables
...
Resolves https://github.com/material-components/material-components-android/pull/589
GIT_ORIGIN_REV_ID=3f167e1a3f5a369fc3bfda152f28b80c3cb25181
PiperOrigin-RevId: 270331104
2019-09-24 12:17:58 -04:00
leticiars
9ab640f83e
Adding null check for updateIconColorOnState method
...
PiperOrigin-RevId: 270319995
2019-09-24 12:17:11 -04:00
leticiars
b17d042f9a
Updating outlined text fields to use new colors for states a11y.
...
PiperOrigin-RevId: 270297081
2019-09-24 12:14:23 -04:00
leticiars
88d316e0f4
Adding boxStrokeErrorColor color attribute to be used for the outlined text field stroke color when an error is being displayed.
...
PiperOrigin-RevId: 270088868
2019-09-20 11:00:03 -04:00
cketcham
b3aec13c32
Fix nullable annotation for BottomSheetDialogFragment#getDialog()
...
PiperOrigin-RevId: 270061278
2019-09-20 10:59:01 -04:00
ldjesper
6e0307248e
Update renamed private String GRID_SELECTOR_KEY to renamed class (DateSelector) in MaterialDatePicker
...
PiperOrigin-RevId: 269875653
2019-09-20 10:57:25 -04:00
cketcham
f8fe052ed3
Add support for Slider thumb elevation
...
PiperOrigin-RevId: 269866946
2019-09-20 10:56:07 -04:00
ldjesper
ee891219d5
Change text scaling and landscape width for small screens.
...
PiperOrigin-RevId: 269862267
2019-09-20 10:45:32 -04:00
ldjesper
e2f7ee026e
Fix NPE when erasing text input box for SingleDateSelector
...
Resolves https://github.com/material-components/material-components-android/issues/590
PiperOrigin-RevId: 269852927
2019-09-18 14:42:45 -04:00
afohrman
f6a67eb9f6
Fix issues with javadocs.
...
PiperOrigin-RevId: 269825611
2019-09-18 14:24:31 -04:00
leticiars
6e5ddcfb0e
Adding support for prefix and suffix in text fields.
...
Prefix text can be set via the prefixText attribute or via the setPrefixText(CharSequence) method.
Similarly, suffix text can be set via the suffixText attribute or via setSuffixText(CharSequence)
PiperOrigin-RevId: 269799139
2019-09-18 14:21:37 -04:00
marianomartin
d3d8c0a9fb
Remove corner adjustment flag and code
...
PiperOrigin-RevId: 269652871
2019-09-18 14:20:44 -04:00
Material Design Team
6367566c46
Update HideBottomViewOnScrollBehavior to use non-deprecated versions of Behavior’s onStartNestedScroll and onNestedScroll.
...
PiperOrigin-RevId: 269610701
2019-09-18 14:20:03 -04:00
dniz
bcd8a55e30
Update ElevationOverlayProvider overlayView parameter to be @NonNull
...
PiperOrigin-RevId: 269364084
2019-09-18 14:16:49 -04:00
cketcham
d993425201
Update ShapeAppearanceModel javadoc to correctly specify that an instance is returned, not the builder.
...
PiperOrigin-RevId: 269363772
2019-09-18 14:16:09 -04:00
connieshi
b6885518a0
Use CardView instead of MaterialCardView as the class name to so Talkback recognizes the item type.
...
PiperOrigin-RevId: 269333691
2019-09-18 14:15:19 -04:00
Material Design Team
7ff6f6e1e2
Add a11y support to SwipeDismissBehavior
...
PiperOrigin-RevId: 268976540
2019-09-18 14:13:33 -04:00
cketcham
eab7b7bc1b
Update Slider thumb to use MaterialShapeDrawable
...
This will easily allow us to support elevation and potentially custom shapes in the future.
PiperOrigin-RevId: 268932921
2019-09-18 14:12:11 -04:00
connieshi
461e7f9be8
Remove obsolete todo.
...
PiperOrigin-RevId: 268932308
2019-09-18 14:07:33 -04:00
leticiars
9ada97c2be
Automated g4 rollback of changelist 268731150
...
PiperOrigin-RevId: 268920078
2019-09-18 14:06:57 -04:00
dniz
03b5cffbb7
Update naming of Snackbar gesture inset ignore flag
...
PiperOrigin-RevId: 268914646
2019-09-18 14:06:07 -04:00
cketcham
38e95a5f3c
Remove the gap between the thumb and track in disabled mode
...
PiperOrigin-RevId: 268905977
2019-09-18 14:04:28 -04:00
connieshi
a6106e12b2
When a chip's close icon is purely decorative (i.e. no onCloseIconClickLisetener is set), avoid setting custom accessibility delegate.
...
PiperOrigin-RevId: 268904579
2019-09-18 14:03:37 -04:00
leticiars
784fb9ba24
Fixing ExposedDropdownMenu crash when device is rotated.
...
Resolves https://github.com/material-components/material-components-android/issues/561
PiperOrigin-RevId: 268753819
2019-09-18 13:55:15 -04:00
leticiars
6f35a22359
Automated g4 rollback of changelist 268680301
...
PiperOrigin-RevId: 268740076
2019-09-18 13:53:59 -04:00
cketcham
97ca231d70
Allow the radius of the thumb and halo around the thumb to be set by the style
...
PiperOrigin-RevId: 268735380
2019-09-18 13:01:22 -04:00
leticiars
1b6953b92d
Automated g4 rollback of changelist 268687909
...
PiperOrigin-RevId: 268731150
2019-09-12 15:02:38 -04:00
marianomartin
167663ae45
Internal cleanup
...
PiperOrigin-RevId: 268698913
2019-09-12 14:29:01 -04:00
cketcham
e44b7f765d
Add default slider style to the themes
...
PiperOrigin-RevId: 268693120
2019-09-12 14:28:12 -04:00
leticiars
e13bd3c02a
Clear button icon should not be shown if text field isn't activated/being interacted with.
...
PiperOrigin-RevId: 268687909
2019-09-12 14:27:21 -04:00
leticiars
55f85bcc6e
Adding support for prefix and suffix in text fields.
...
Prefix text can be set via the prefixText attribute or via the setPrefixText(CharSequence) method.
Similarly, suffix text can be set via the suffixText attribute or via setSuffixText(CharSequence)
PiperOrigin-RevId: 268680301
2019-09-12 14:26:15 -04:00
cketcham
8a26d84ac4
Add initial Slider implementation
...
PiperOrigin-RevId: 268558997
2019-09-12 14:22:38 -04:00
Material Design Team
05367d4358
Fix fragment leak in Material NavigationView
...
Need to unregister the ViewTreeObserver, which was previously registered on the top-most View in the entire hierarchy.
PiperOrigin-RevId: 268532017
2019-09-12 14:21:38 -04:00
marianomartin
a4138293df
Internal cleanup
...
PiperOrigin-RevId: 268507643
2019-09-12 14:12:53 -04:00
connieshi
d4d0e7f5e9
Update badge gravity enum values to use Gravity values. Add unit test.
...
PiperOrigin-RevId: 268485092
2019-09-12 14:09:30 -04:00
cketcham
b12e1720a6
Remove restriction requiring Slider valueFrom and valueTo to be set
...
The default is from 0 to 1.
PiperOrigin-RevId: 268480998
2019-09-12 14:07:32 -04:00
ldjesper
691b1bdc06
Increase some MaterialDatePicker dimensions to handle device scaled font sizes on small devices
...
PiperOrigin-RevId: 268452885
2019-09-12 14:06:43 -04:00
ldjesper
801172e401
Update DateValidator JavaDocs in MaterialDatePicker
...
PiperOrigin-RevId: 268451832
2019-09-12 14:05:41 -04:00
cketcham
5c384c3804
Add space to the bitmap for drawing shadows to prevent clipping
...
PiperOrigin-RevId: 268449384
2019-09-12 14:04:45 -04:00
ldjesper
fe56e2ecc7
Allow setting of MaterialDatePicker title via CharSequence plus JavaDoc updates
...
PiperOrigin-RevId: 268445763
2019-09-12 14:03:01 -04:00