hunterstich
06322aadb9
[Motion] Updated MaterialFadeThrough to respect client-set alpha values on target views.
...
Resolves https://github.com/material-components/material-components-android/issues/1701
PiperOrigin-RevId: 330932760
2020-09-10 11:15:14 -04:00
Gabriele Mariotti
df0401bd29
[MaterialCardView] Added options to set custom checkedIcon size and margin
...
Resolves https://github.com/material-components/material-components-android/pull/1613
GIT_ORIGIN_REV_ID=ace8cb8b2e55806760e4d28214bd72afb46a6592
PiperOrigin-RevId: 330932167
2020-09-10 11:14:31 -04:00
Material Design Team
fc1208f4a4
[TextInputLayout] Allow hint text set in TextInputLayout to be passed on to the Autofill service
...
Resolves https://github.com/material-components/material-components-android/issues/1412
PiperOrigin-RevId: 330780010
2020-09-10 11:13:38 -04:00
cketcham
ccc629f064
Only read letter spacing for TextAppearance on API levels where it exists
...
PiperOrigin-RevId: 330771283
2020-09-10 11:12:47 -04:00
cketcham
bf86d82e61
[DatePicker] Allow for styling dialog close icon color for full screen dialog
...
PiperOrigin-RevId: 330739711
2020-09-10 11:11:43 -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
haodong
f330ee8eb5
[ProgressIndicator] Fixed update listener for determinate drawable.
...
PiperOrigin-RevId: 329806314
2020-09-09 11:22:40 -04:00
Gabriele Mariotti
076ff69343
[TextInputLayout] Added hintText, helperText, placeholderText to restoreInstanceState
...
Resolves https://github.com/material-components/material-components-android/pull/1629
Resolves https://github.com/material-components/material-components-android/issues/1384
GIT_ORIGIN_REV_ID=3c3ac47f054e7c1f8ae7b7459337f094bfdbe56a
PiperOrigin-RevId: 329741165
2020-09-09 11:21:42 -04:00
marianomartin
e944d1b2a6
[BottomSheet] Fixed issue where peekHeight is more than the height of the contents
...
PiperOrigin-RevId: 329722448
2020-09-02 13:29:54 -04:00
Material Design Team
d30f4d2d27
[BottomSheet] Changed DialogFragment import to package qualifier in javadoc.
...
PiperOrigin-RevId: 329011683
2020-08-28 18:09:02 -04:00
haodong
395c2cda63
[ProgressIndicator] Removed custom drawing support to minimize API exposure.
...
PiperOrigin-RevId: 329001093
2020-08-28 18:07:25 -04:00
cketcham
d4a019359c
Update TextAppearance and CollapsingTextHelper to respect letterSpacing set with TextAppearance styles
...
PiperOrigin-RevId: 328985766
2020-08-28 18:06:30 -04:00
haodong
d615d2ac37
[SwitchMaterial] Added processing status.
...
PiperOrigin-RevId: 328982034
2020-08-28 18:05:07 -04:00
connieshi
e8e901ecd4
[BottomNavigation] When setting the CollectionItemInfo on a BottomNavigationItemView, figure out its position amongst the visible menu items instead of using its item position.
...
PiperOrigin-RevId: 328923164
2020-08-28 10:12:15 -04:00
cketcham
6cb28b927b
[DatePicker] Update month and year navigation to use the correct color
...
PiperOrigin-RevId: 328774367
2020-08-28 10:10:06 -04:00
Gabriele Mariotti
487e321497
[Slider] Added options to set thumbStrokeColor and thumbStrokeWidth
...
Resolves https://github.com/material-components/material-components-android/pull/1653
Resolves https://github.com/material-components/material-components-android/issues/1652
GIT_ORIGIN_REV_ID=ba5cab25a210a34e9d6396101ad045c8cfc8cb92
PiperOrigin-RevId: 328542122
2020-08-26 17:40:22 -04:00
marianomartin
0aed26b8b7
[TimePicker] Changed positive listener to be an OnClickListener
...
PiperOrigin-RevId: 328539995
2020-08-26 17:39:31 -04:00
Gabriele Mariotti
6d75b92c0a
[Chip] Fixed wrong behavior when checked chip with id = NO_ID is added to ChipGroup
...
Resolves https://github.com/material-components/material-components-android/pull/1648
Resolves https://github.com/material-components/material-components-android/issues/1178
Resolves https://github.com/material-components/material-components-android/issues/1647
GIT_ORIGIN_REV_ID=155b8ca0218835beb02b4e3a745a1026c835a835
PiperOrigin-RevId: 328373122
2020-08-26 09:47:33 -04:00
haodong
f0b8c159b9
[ProgressIndicator] Added the setter for component's visibility after hide animation.
...
Resolves https://github.com/material-components/material-components-android/issues/1632
PiperOrigin-RevId: 327874780
2020-08-24 18:02:15 -04:00
cketcham
7e37eaa252
[Slider] Adds a warning message if the stepSize or any values are set to float values with a decimal to suggest using integers.
...
PiperOrigin-RevId: 327685433
2020-08-20 16:49:45 -04:00
momt99
ee93fc15c4
[TextInputLayout] Added id for errorIconView
...
Resolves https://github.com/material-components/material-components-android/pull/1624
Resolves https://github.com/material-components/material-components-android/issues/1623
GIT_ORIGIN_REV_ID=acf854dc995d734383ed25689b8efd7606f75537
PiperOrigin-RevId: 327673226
2020-08-20 16:48:23 -04:00
marianomartin
a543032c99
[TimePicker] Support formatting the numbers depending on the configuration locale
...
PiperOrigin-RevId: 327666353
2020-08-20 16:47:25 -04:00
marianomartin
bcf54ab323
[ShapeableImageView] delay initialization of shadows drawable
...
PiperOrigin-RevId: 327643252
2020-08-20 16:45:54 -04:00
Tad Fisher
a6a750b4ae
[NavigationView] Fix obtaining Activity in setupInsetScrimsListener
...
Resolves https://github.com/material-components/material-components-android/pull/1628
Resolves https://github.com/material-components/material-components-android/issues/1627
GIT_ORIGIN_REV_ID=4042d13c8326144184e46795b217b9172b6552ad
PiperOrigin-RevId: 327446397
2020-08-19 17:44:12 -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
cketcham
5004d5a521
[Slider] Fix the validation of the slider step size and values.
...
Resolves https://github.com/material-components/material-components-android/issues/1587
PiperOrigin-RevId: 327419448
2020-08-19 17:40:53 -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
Material Design Team
431e092649
[DatePicker] Made some MaterialCalendar related methods/classes public, but still restricted.
...
PiperOrigin-RevId: 326494150
2020-08-13 16:53:54 -04:00
connieshi
1b0cfaeace
[MaterialCardView] Fixed NPE if android:onClick is defined in the layout
...
Resolves https://github.com/material-components/material-components-android/issues/1054
Resolves https://github.com/material-components/material-components-android/pull/1614
GIT_ORIGIN_REV_ID=b19044de3093f19313e362d378f5cc3b810c5727
PiperOrigin-RevId: 326486876
2020-08-13 16:51:44 -04:00
leticiars
bc4c6e47ae
[TextFields] Adjusted label position and edit text padding of filled text field for large font support. Also removed margin of icons when font is large.
...
PiperOrigin-RevId: 326486771
2020-08-13 16:50:06 -04:00
Gabriele Mariotti
fcea6e8ab2
[TextInputLayout] Added method to set hint with a String resource
...
Resolves https://github.com/material-components/material-components-android/issues/959
Resolves https://github.com/material-components/material-components-android/pull/1598
GIT_ORIGIN_REV_ID=c156ad372ca4055f70a7021db89d91b915db8b4c
PiperOrigin-RevId: 326249688
2020-08-12 14:19:57 -04:00
connieshi
db4275fbd3
[a11y][Bottomsheet] Add custom action to drag bottomsheet half expanded.
...
PiperOrigin-RevId: 326237250
2020-08-12 14:17:36 -04:00
haodong
78aa3eac95
[ProgressIndicator] More cleanup of renaming indicatorWidth to indicatorSize.
...
PiperOrigin-RevId: 326064408
2020-08-11 14:47:40 -04:00
Material Design Team
fb23efff45
[DatePicker] Allow RangedDateSelectors with multiples ranges in different months to be shown correctly.
...
PiperOrigin-RevId: 326054201
2020-08-11 14:46:48 -04:00
haodong
4d866b060a
[ProgressIndicator] Corrected the behavior and comment of the setProgress to align with the framework ProgressBar API.
...
PiperOrigin-RevId: 326040256
2020-08-11 14:42:59 -04:00
dniz
0df77248d5
[BottomSheet] Changed bottom gesture inset handling to ensure a minimum peek height with a buffer built in, instead of always adding the inset to the peek height (when gesture nav is enabled)
...
PiperOrigin-RevId: 325866040
2020-08-11 14:41:15 -04:00
Material Design Team
b12c5c5b00
[DatePicker] Speed up calendar performance by only updating certain views when a day is clicked, instead of recreating and redrawing all of them.
...
PiperOrigin-RevId: 325850735
2020-08-11 14:39:26 -04:00
dniz
cbc7af2054
[BottomNavigationView] Added setItemOnTouchListener method to support custom touch handling
...
PiperOrigin-RevId: 325814575
2020-08-10 13:25:26 -04:00
hunterstich
05e0496cf9
[Motion] Removed internal listener from container transform after transition ends.
...
Resolves https://github.com/material-components/material-components-android/issues/1601
PiperOrigin-RevId: 325798894
2020-08-10 13:21:50 -04:00
marianomartin
edbfd15c82
[MaterialShapeDrawables] Fixed compat shadows after ShapePathProvider change
...
PiperOrigin-RevId: 325797837
2020-08-10 13:20:07 -04:00
leticiars
1f8e76b3a1
[TextInputLayout] Fixed helper text position for large font sizes.
...
PiperOrigin-RevId: 325521228
2020-08-10 13:18:03 -04:00
haodong
416eab583c
[ProgressIndicator] Improved inflation performance.
...
- Deferred animator initialization to the moment animations start.
- Improved inflation time (1k times) from 1478 ms to 325 ms. For the framework ProgressBar, it's about 190 ms.
PiperOrigin-RevId: 325455356
2020-08-07 15:23:41 -04:00
marianomartin
c59c04639c
[MaterialShapeDrawable] Convert ShapeAppearancePathProvider to a singleton.
...
Also allocate less path objects.
PiperOrigin-RevId: 325287653
2020-08-06 21:10:36 -04:00
marianomartin
fbefa5a0ec
[ShapeableImageView] Fixed shadows for non round rects
...
https://github.com/material-components/material-components-android/issues/1562
PiperOrigin-RevId: 325069672
2020-08-05 16:26:06 -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
dniz
b0240d9a77
[Resources] Fixed the types of some public attrs
...
Resolves https://github.com/material-components/material-components-android/issues/1560
PiperOrigin-RevId: 325010287
2020-08-05 10:59:36 -04:00
dniz
23d610007d
[Motion] Improved MaterialContainerTransform approximation of native elevation shadows by using location of bounds on screen
...
Resolves https://github.com/material-components/material-components-android/issues/1543
Follow-up to https://github.com/material-components/material-components-android/issues/1126
PiperOrigin-RevId: 324807509
2020-08-04 10:47:27 -04:00
connieshi
5c9e250c46
[Tab] Added getter in TabLayoutMediator to return whether a TabLayout and a ViewPager2 are linked together.
...
Resolves https://github.com/material-components/material-components-android/issues/1506
PiperOrigin-RevId: 324608263
2020-08-03 21:32:38 -04:00