Material Design Team
8f6b39d860
Automated g4 rollback of changelist 339053684
...
PiperOrigin-RevId: 339130013
2020-10-27 10:21:11 -07:00
leticiars
948bb327f9
[ExposedDropdownMenu] Update paddings to match spec.
...
PiperOrigin-RevId: 339053684
2020-10-27 10:18:36 -07:00
haodong
8b38e32829
[ProgressIndicator] Added attribute tests and parameter tests for LinearProgressIndicator.
...
PiperOrigin-RevId: 338754297
2020-10-27 05:09:24 -07:00
haodong
298dbe75f6
[ProgressIndicator] Made LinearProgressIndicator functional and optimized readability of CircularProgressIndicator.
...
PiperOrigin-RevId: 338753954
2020-10-27 05:08:39 -07:00
haodong
757b4fac85
[ProgressIndicator] Use LinearProgressIndicatorSpec in LINEAR type.
...
PiperOrigin-RevId: 338753632
2020-10-27 04:36:39 -07:00
haodong
b6643204a6
[ProgressIndicator] Added LinearProgressIndicator and LinearProgressIndicatorSpec.
...
PiperOrigin-RevId: 338738646
2020-10-27 04:35:45 -07:00
Material Design Team
cf9027f098
[TabLayout] Add a localized a11y string for a tab
...
PiperOrigin-RevId: 338706340
2020-10-23 12:31:51 -07:00
isabellekim
7ef5308c14
[TimePicker] Update title color to be in typography.
...
PiperOrigin-RevId: 338666608
2020-10-23 12:30:36 -07:00
Material Design Team
5c83026c17
[ExtendedFloatingActionButton] Add support for initial show animation.
...
This adds setAnimateShowBeforeLayout() method to override the default behavior. With this change a button which is initially hidden (Visibility.GONE) can be animated in by calling show().
PiperOrigin-RevId: 338508716
2020-10-22 19:21:43 -04:00
hunterstich
5d0e0322b1
[Motion] Updated FadeProvider and FadeThroughProvider to support Activity alpha.
...
PiperOrigin-RevId: 338448088
2020-10-22 17:40:15 -04:00
marianomartin
37c7f26793
[TimePicker] Increased touch target size of AM/PM toggle
...
PiperOrigin-RevId: 338328586
2020-10-21 15:55:50 -07:00
marianomartin
4aeb6a9dbb
[TimePicker] Update image button appearance
...
PiperOrigin-RevId: 338316939
2020-10-21 15:54:20 -07:00
connieshi
93f4f161cd
[Chip] If a close icon is purely decorative (e.g. no closeIconClickListener is specified), the close icon should not intercept the click and instead let the superclass manages the touch event for the overall chip.
...
PiperOrigin-RevId: 338260731
2020-10-21 15:51:08 -07:00
connieshi
bc1bd23375
[chip] Avoid flickering when using downlodable fonts.
...
PiperOrigin-RevId: 338258136
2020-10-21 15:49:00 -07:00
haodong
e019b02bb5
[ProgressIndicator] Fixed attribute's references and added spec validation to setting indicatorSize in CircularProgressIndicator.
...
PiperOrigin-RevId: 338163182
2020-10-21 15:47:52 -07:00
connieshi
bea697804d
[Badge] Fix lint error.
...
PiperOrigin-RevId: 338072863
2020-10-20 09:23:31 -07:00
hunterstich
fe58a4c81e
[Button] Updated custom background warning message to be more informative.
...
Resolves https://github.com/material-components/material-components-android/issues/1803
PiperOrigin-RevId: 337894750
2020-10-19 11:47:05 -07:00
connieshi
bcb148681b
[Badge] Save and restore visibility on config change.
...
Resolves https://github.com/material-components/material-components-android/issues/1779
PiperOrigin-RevId: 337889750
2020-10-19 11:44:23 -07:00
dniz
90929ee274
[MaterialDatePicker] Fixed overzealous smooth scrolling when horizontally swiping between months
...
Resolves https://github.com/material-components/material-components-android/issues/920
PiperOrigin-RevId: 337879242
2020-10-19 11:43:33 -07:00
haodong
a7f1430f62
[ProgressIndicator] Deprecated CIRCULAR type in ProgressIndicator.
...
PiperOrigin-RevId: 337590517
2020-10-19 05:57:40 -07:00
isabellekim
eec282bc05
[TimePicker] Moved TimePicker.Button style to MaterialTimePicker theme overlay.
...
PiperOrigin-RevId: 337536394
2020-10-19 05:55:37 -07:00
marianomartin
8da7336e89
[TimePicker] Added a style for timepicker to customize icons
...
PiperOrigin-RevId: 337525216
2020-10-19 05:54:54 -07:00
marianomartin
172e7ba710
[TimePicker] Added a style for the input mode button
...
PiperOrigin-RevId: 337513706
2020-10-19 05:50:35 -07:00
hunterstich
0afcb48f14
[TabLayout] Automated g4 rollback of changelist 337128442.
...
*** Reason for rollback ***
[TabLayout] Roll forward with dot indicator fix
*** Original change description ***
Automated g4 rollback of changelist 337092676
PiperOrigin-RevId: 337484043
2020-10-16 05:54:50 -07:00
hunterstich
49ad52288c
[Motion] Updated FadeThroughProvider and FadeProvider to restore target's original alpha value.
...
Resloves https://github.com/material-components/material-components-android/issues/1701
PiperOrigin-RevId: 337374791
2020-10-16 05:53:46 -07:00
marianomartin
73031815ad
[TimePicker] Added Theme Overlay to set default styles for widgets
...
PiperOrigin-RevId: 337338438
2020-10-15 13:42:16 -07:00
cketcham
64843c9786
[Slider] Fix touch tracking callbacks
...
In some cases start tracking touch wouldn't be called, and in others stop tracking touch would be called even if no pointer was ever updated
PiperOrigin-RevId: 337314602
2020-10-15 13:41:20 -07:00
dniz
a21a30026a
[CollapsingToolbarLayout] Fixed scrolling sibling view bottom cut off issue
...
There was an issue when navigating back to a fragment with a CollapsingToolbarLayout, where the items at bottom of the CollapsingToolbarLayout's scrolling sibling view were cut off and couldn't be reached by scrolling. It had to do with the minimum height of the CollapsingToolbarLayout not being set at the point when HeaderScrollingViewBehavior calculates the height of the scrolling view in its onMeasureChild() method. The onMeasureChild() method factors in AppBarLayout#getTotalScrollRange which is dependent on the minimum height of the CollapsingToolbarLayout, so moving the CollapsingToolbarLayout's setMinimumHeight() from its onLayout() to its onMeasure() fixes the issue by making the minimum height available earlier.
Resolves https://github.com/material-components/material-components-android/issues/1558
Resolves https://github.com/material-components/material-components-android/issues/846
Resolves https://github.com/material-components/material-components-android/issues/1070
Resolves https://github.com/material-components/material-components-android/issues/1198
PiperOrigin-RevId: 337309314
2020-10-15 13:40:26 -07:00
hunterstich
cdea820c0f
[ProgressIndicator] Moved comment into constructor body.
...
PiperOrigin-RevId: 337307024
2020-10-15 13:38:41 -07:00
haodong
c3d59395a5
[ProgressIndicator] Update GM testing and catalog.
...
PiperOrigin-RevId: 337198418
2020-10-15 13:37:00 -07:00
haodong
10e7349853
[ProgressIndicator] Moved the logic from ProgressIndicator to BaseProgressIndicator and made CircularProgressIndicator functional.
...
PiperOrigin-RevId: 337188667
2020-10-15 13:34:50 -07:00
Material Design Team
b7bca363ae
Automated g4 rollback of changelist 337164724
...
PiperOrigin-RevId: 337179972
2020-10-15 13:30:57 -07:00
marianomartin
e619132cbd
[TimePicker] Added themoverlay to set default styles for widgets
...
PiperOrigin-RevId: 337164724
2020-10-15 13:30:13 -07:00
hunterstich
91589f4c24
Automated g4 rollback of changelist 337092676
...
PiperOrigin-RevId: 337128442
2020-10-15 13:28:59 -07:00
haodong
113bff7dd7
[ProgressIndicator] Use CircularProgressIndicatorSpec in CIRCULAR type.
...
PiperOrigin-RevId: 337106191
2020-10-15 13:27:53 -07:00
isabellekim
1cc34a09c7
[TimePicker] Update ripple color on the mode button for time picker to be based on the content color.
...
PiperOrigin-RevId: 337103634
2020-10-15 13:26:19 -07:00
hunterstich
f0a80c4e41
[TabLayout] Automated g4 rollback of changelist 336764852.
...
*** Reason for rollback ***
Roll forward with fix
*** Original change description ***
Automated g4 rollback of changelist 336704515
PiperOrigin-RevId: 337092676
2020-10-15 13:25:34 -07:00
haodong
0a75c746ff
[ProgressIndicator] Added CircularProgressIndicator and CircularProgressIndicatorSpec.
...
PiperOrigin-RevId: 337009157
2020-10-15 13:24:45 -07:00
connieshi
9487c33b8a
Automated g4 rollback of changelist 336347365
...
PiperOrigin-RevId: 336978123
2020-10-15 13:23:56 -07:00
Material Design Team
ffcf70adde
[DatePicker] Changes to allow the MaterialCalendar to exist inside a scrollable view.
...
PiperOrigin-RevId: 336952059
2020-10-15 13:23:12 -07:00
haodong
95677464fd
[ProgressIndicator] Updated ProgressIndicatorSpec to use BaseProgressIndicatorSpec.
...
PiperOrigin-RevId: 336944763
2020-10-15 13:22:15 -07:00
connieshi
6951bd5179
[Chip] Support elevation overlay.
...
Resolves https://github.com/material-components/material-components-android/issues/1749
PiperOrigin-RevId: 336930100
2020-10-15 13:21:17 -07:00
cketcham
aad88a0b38
[Slider] Stop checking for scroll if not in a scrolling container
...
This allows the thumb to be repositioned more quickly if the thumb is moved a little rather than waiting for the touch to move past the slop.
PiperOrigin-RevId: 336929171
2020-10-15 13:19:50 -07:00
hunterstich
f743057941
Automated g4 rollback of changelist 336704515
...
PiperOrigin-RevId: 336764852
2020-10-15 13:16:16 -07:00
hunterstich
f8f3d9086e
[TabLayout] Added initial indicator interpolation extensibility.
...
Added a linear and elastic interpolator to handle specing the indicator at any point between two tabs.
PiperOrigin-RevId: 336704515
2020-10-15 13:14:22 -07:00
hunterstich
1fc5e8c51c
[Slider] Added animation to scale in/out label above thumbs.
...
PiperOrigin-RevId: 336635571
2020-10-15 13:13:28 -07:00
haodong
4a56bca6c8
Automated g4 rollback of changelist 336312110
...
PiperOrigin-RevId: 336562092
2020-10-15 13:12:42 -07:00
haodong
33494486c8
Automated g4 rollback of changelist 336313426
...
PiperOrigin-RevId: 336388324
2020-10-15 13:11:59 -07:00
haodong
42840c0e24
Automated g4 rollback of changelist 336314674
...
PiperOrigin-RevId: 336388120
2020-10-15 13:10:39 -07:00
haodong
9199b49bca
Automated g4 rollback of changelist 336315813
...
PiperOrigin-RevId: 336387821
2020-10-15 13:07:44 -07:00