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
haodong
95677464fd
[ProgressIndicator] Updated ProgressIndicatorSpec to use BaseProgressIndicatorSpec.
...
PiperOrigin-RevId: 336944763
2020-10-15 13:22:15 -07:00
hunterstich
f743057941
Automated g4 rollback of changelist 336704515
...
PiperOrigin-RevId: 336764852
2020-10-15 13:16:16 -07:00
cketcham
0405ae143d
Updates usages of old constraintlayout to androidx
...
PiperOrigin-RevId: 336712265
2020-10-15 13:15:20 -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
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
3ab08a2227
Automated g4 rollback of changelist 336318812
...
PiperOrigin-RevId: 336386654
2020-10-15 13:05:08 -07:00
haodong
8c3e3bf955
Automated g4 rollback of changelist 336326618
...
PiperOrigin-RevId: 336379824
2020-10-15 13:01:51 -07:00
Material Design Team
0f717f8cce
Automated g4 rollback of changelist 336306885
...
PiperOrigin-RevId: 336347365
2020-10-15 13:01:02 -07:00
haodong
64561681dd
[ProgressIndicator] Update GM testing and catalog.
...
PiperOrigin-RevId: 336326618
2020-10-15 12:59:40 -07:00
haodong
6d0e89aa4c
[ProgressIndicator] Updated MDC catalog to replace ProgressIndicator (CIRCULAR type) with CircularProgressIndicator.
...
PiperOrigin-RevId: 336318812
2020-10-15 12:56:47 -07:00
haodong
9215166f7e
[ProgressIndicator] Use CircularProgressIndicatorSpec in CIRCULAR type.
...
PiperOrigin-RevId: 336314674
2020-10-15 12:49:05 -07:00
haodong
5cfcc2e317
[ProgressIndicator] Added CircularProgressIndicator and CircularProgressIndicatorSpec.
...
PiperOrigin-RevId: 336313426
2020-10-15 12:41:02 -07:00
haodong
80aefb3ac7
[ProgressIndicator] Updated ProgressIndicatorSpec to use BaseProgressIndicatorSpec.
...
PiperOrigin-RevId: 336312110
2020-10-15 12:40:13 -07:00
haodong
df6334fb0e
[ProgressIndicator] Detach spec object from the drawable classes.
...
PiperOrigin-RevId: 336311315
2020-10-15 12:37:12 -07:00
connieshi
5e35d14c18
[Badge] Update badge to support being anchored to any view in pre 18.
...
In <API18, BadgeDrawable will dynamically 1) wrap the anchor in a FrameLayout and 2) replace the anchor with the FrameLayout in the anchor' view hierarchy. BadgeDrawable will set itself as foreground on the FrameLayout.
If the user does not want BadgeDrawable to manipulate its view hierarchy, the user can pass in an instance of FrameLayout `customBadgeParent` in #attachBadgeDrawable instead.
Labeled BadgeUtils as experimental and removed the RestrictedTo(Scope.Library) annotation.
Updated TopAppBar main demo to show a badge on a toolbar menu item.
PiperOrigin-RevId: 336306885
2020-10-15 12:31:14 -07:00
Brandon Lerner
416b8cb94a
[Slider] Invalidate after new ColorStateList and return early if same
...
Resolves https://github.com/material-components/material-components-android/pull/1786
GIT_ORIGIN_REV_ID=1459f706028f25b13d8dbae850ea66b4b8294153
PiperOrigin-RevId: 336111124
2020-10-15 12:23:54 -07:00
dniz
2f9c2b0491
[Cleanup] Fix formatting of copyrights in xml
...
PiperOrigin-RevId: 334423264
2020-09-29 16:34:51 -04:00
isabellekim
6afbc7ba45
[Dialog] Update Catalog to return user input and show it in a toast for multi-select list and single select list demos.
...
PiperOrigin-RevId: 333771569
2020-09-28 11:48:42 -07:00
dniz
a6d788f28e
[CollapsingToolbarLayout] Added collapsingToolbarLayoutStyle default theme attribute
...
PiperOrigin-RevId: 333515330
2020-09-24 09:02:13 -07:00
leticiars
130d05a54b
[Catalog] Updated menu labels
...
PiperOrigin-RevId: 332293906
2020-09-18 14:01:26 -07:00
cketcham
f55c0557eb
[Dialog] Remove outlined and filled dialog demos from our catalog as these aren't part of the spec
...
PiperOrigin-RevId: 331646381
2020-09-15 09:29:21 -07:00
cketcham
1ec32fc4c6
[Dialog] Removes the third action from the catalog since the guidelines advice against having more than two.
...
PiperOrigin-RevId: 331584063
2020-09-15 09:26:15 -07:00
cketcham
11c46e6b6c
[Dialog] Add demo with centered icon and title to the catalog
...
PiperOrigin-RevId: 331568613
2020-09-15 09:22:57 -07:00
afohrman
f73d354763
[Motion] Fixed crash in container transform view demo.
...
There was a null pointer exception when endView was not assigned before the back icon was pressed. The onBackPressed method that was triggering the NPE was checking the visibility of the endView to see if it should do a return transition instead of close the entire demo. There is no need to do a return transition when the endView is not assigned, since that means no transition happened yet, so a simple null check fixes the issue.
PiperOrigin-RevId: 331205296
2020-09-15 09:10:51 -07:00
hunterstich
8ec11a1460
[BottomNavigationView] Updated menu item selection animation to match spec
...
Bottom nav item labels now slide up when fading in instead of scaling.
PiperOrigin-RevId: 331163684
2020-09-11 14:51:00 -04:00
Gabriele Mariotti
85739c7e05
[MaterialDatePicker] Added a datevalidator for multiple range
...
Resolves https://github.com/material-components/material-components-android/pull/1622
GIT_ORIGIN_REV_ID=a125081ffc609b969f841cd7a830f35d17861ee9
Co-authored-by: ymarian <38727469+ymarian@users.noreply.github.com>
PiperOrigin-RevId: 330725106
2020-09-09 11:25:13 -04:00
haodong
8bba732aaa
Automated g4 rollback of changelist 328982034
...
PiperOrigin-RevId: 329810012
2020-09-09 11:23:29 -04:00
afohrman
4f5e045a4b
[Motion] Added content to the contact card in the View Container Transform demo.
...
PiperOrigin-RevId: 329356569
2020-08-31 16:05:03 -04:00
haodong
395c2cda63
[ProgressIndicator] Removed custom drawing support to minimize API exposure.
...
PiperOrigin-RevId: 329001093
2020-08-28 18:07:25 -04:00
haodong
d615d2ac37
[SwitchMaterial] Added processing status.
...
PiperOrigin-RevId: 328982034
2020-08-28 18:05:07 -04:00
afohrman
653701d75c
[Motion] Added a contact card to View Container Transform demo and created an expanded card for cards transition into.
...
This commit adds the for the separate transitions. The contact card is blank for now.
PiperOrigin-RevId: 328965507
2020-08-28 18:04:16 -04:00
hunterstich
0314540366
[Motion] Fix catalog hero demo from loosing scroll position when returning to album list.
...
Resolves https://github.com/material-components/material-components-android/issues/1349
PiperOrigin-RevId: 328730266
2020-08-28 10:08:49 -04:00
marianomartin
0aed26b8b7
[TimePicker] Changed positive listener to be an OnClickListener
...
PiperOrigin-RevId: 328539995
2020-08-26 17:39:31 -04:00
marianomartin
71941cd1c4
[Catalog] resolve lint issue with linear layout
...
PiperOrigin-RevId: 328146509
2020-08-24 18:03:48 -04:00
dniz
a83011d383
[Motion] Updated Catalog container transform enter/return configuration Slider step sizes to fix crash
...
PiperOrigin-RevId: 327863602
2020-08-24 18:01:26 -04:00
leticiars
06787e34ee
[Catalog] Small javadoc update.
...
PiperOrigin-RevId: 327816511
2020-08-21 16:15:54 -04:00
afohrman
3f52e7f86d
[Motion] Fix intermediate flash during view container transform demo.
...
Also rename endCard as endView in preparation for a change that shows separate end views depending on whether the FAB or a card was pressed.
PiperOrigin-RevId: 327483783
2020-08-19 17:45:44 -04:00
haodong
7200cd52b6
[ProgressIndicator] Fixed the style used on indeterminate drawable in the standalone demo.
...
PiperOrigin-RevId: 327435884
2020-08-19 17:41:57 -04:00
haodong
90f041d5e7
[ProgressIndicator] Updated style names.
...
PiperOrigin-RevId: 326696208
2020-08-14 15:24:16 -04:00
hunterstich
8be3efc199
[BottomAppBar] Updated FAB Alignement and menu replacement to fix different length menu res translation x bug
...
PiperOrigin-RevId: 326652655
2020-08-14 15:08:25 -04:00
afohrman
acdd3a93b8
[Motion] Made shared axis end view in catalog demo scrollable.
...
The bottom of the view was cut off in some screen sizes. Making the layout scrollable fixes the issue.
PiperOrigin-RevId: 326317485
2020-08-13 09:46:46 -04:00
NUmeroAndDev
0d3bf85ed0
[Catalog] Replaced getFragmentManager because deprecated
...
Resolves https://github.com/material-components/material-components-android/pull/1561
GIT_ORIGIN_REV_ID=80182480c8bbdb59ff25e1fae6479d5b4402b9eb
PiperOrigin-RevId: 325308210
2020-08-06 21:12:42 -04:00
haodong
77582b5e21
[ProgressIndicator] Renamed indicatorWidth with indicatorSize to eliminate the confusion of indicatorWidth controlling view height in LINEAR types.
...
Resolves https://github.com/material-components/material-components-android/issues/1491
PiperOrigin-RevId: 325045868
2020-08-05 16:25:19 -04:00
Gabriele Mariotti
5fb7964372
[Slider] Added option to show/hide tick marks in discrete mode
...
Resolves https://github.com/material-components/material-components-android/pull/1545
GIT_ORIGIN_REV_ID=6c5dc94df08ad7ec202722d5b546795f436de404
PiperOrigin-RevId: 324263710
2020-07-31 15:44:30 -04:00
marianomartin
dbbd27cefc
[TimePicker] Removed newInstance method in favor of Builder Class
...
Resolves https://github.com/material-components/material-components-android/issues/1512
PiperOrigin-RevId: 324248187
2020-07-31 15:42:47 -04:00