dniz
a1664ae1cd
[AppBarLayout] Fix spec link in Javadoc
...
PiperOrigin-RevId: 353032509
(cherry picked from commit 2a639a311e699ce5235b103cc359fb16d92ad97a)
2021-02-04 11:20:13 -05:00
haodong
c78c1efb59
[ProgressIndicator] Fixed NPE while setting progress in the indeterminate mode after inflation.
...
PiperOrigin-RevId: 351656379
(cherry picked from commit 7a9e3f6d89ec6691d4b5a4c8e24dd273d2a7eecd)
2021-01-14 14:27:47 -05:00
haodong
e9fcdf0443
[ProgressIndicator] Fixed the visibility bug in RecyclerView.
...
PiperOrigin-RevId: 351655786
(cherry picked from commit 59109559903f61ef922f838e7f8f64d9cdb59dcf)
2021-01-14 14:27:47 -05:00
hunterstich
d523523db9
[DatePicker] Fixed incorrect date being selected on scrollable months.
...
Resolves https://github.com/material-components/material-components-android/issues/1973
PiperOrigin-RevId: 351396382
(cherry picked from commit db42490dde5ee98e5990d5386328012bbaa17090)
2021-01-14 14:27:22 -05:00
haodong
814ce6d72d
[ProgressIndicator] Fixed not hidden when committed hiding is interrupted by window hiding (i.e., home button pressed).
...
Resolves https://github.com/material-components/material-components-android/issues/1937
PiperOrigin-RevId: 350789077
(cherry picked from commit 196116ffa442aeac5a4d535792ab44fc3c0688cd)
2021-01-14 14:27:02 -05:00
haodong
04ae5d7ac1
[ProgressIndicator] Fixed determinate drawable not fully shown when switched from indeterminate mode for the second time in SDK 19/21/23.
...
PiperOrigin-RevId: 350786230
(cherry picked from commit 712f5f3c993b5ab2f4b24d8373c6e74d5c981a95)
2021-01-14 14:27:02 -05:00
haodong
46d8fbadf8
[ProgressIndicator] Fixed indeterminate animation not playing after inflation/being visible in SDK 21.
...
PiperOrigin-RevId: 350783980
(cherry picked from commit 86b70d7bf7733ebc91141f52b549351e27641d58)
2021-01-14 14:26:08 -05:00
Mika
dad7752750
[DatePicker] Fix NullPointerException on MonthAdapter.updateSelectedState(MonthAda…
...
Resolves https://github.com/material-components/material-components-android/pull/1944
Resolves https://github.com/material-components/material-components-android/issues/1943
GIT_ORIGIN_REV_ID=d02d6307ea08ea505ea6535ce909e7d1b268847b
PiperOrigin-RevId: 350783859
(cherry picked from commit 00e33202a5106785b986e55d6cf3a03a47a23085)
2021-01-14 14:26:08 -05:00
haodong
1ff2d6a262
[ProgressIndicator] Updated linear indeterminate animation.
...
PiperOrigin-RevId: 350781463
(cherry picked from commit fdb420f540910315140b2d410e6b95d21d538a06)
2021-01-14 14:26:08 -05:00
haodong
4dd1d84bc0
[ProgressIndicator] Updated circular indeterminate animation.
...
Resolves https://github.com/material-components/material-components-android/issues/1852
PiperOrigin-RevId: 350781191
(cherry picked from commit 2163e3d2cbf4d259364f883d642edd6c97638f0b)
2021-01-14 14:26:08 -05:00
marianomartin
206699f70a
[DatePicker] Localized numbers in month
...
Resolves https://github.com/material-components/material-components-android/issues/1948
PiperOrigin-RevId: 350567674
(cherry picked from commit 3e799428717a8f82b27f753c49f9748175b24121)
2021-01-14 14:22:58 -05:00
marianomartin
b4b624ecf2
[DatePicker] Fixed day of week adapter localization for APIs before O
...
Resolves https://github.com/material-components/material-components-android/issues/1948
PiperOrigin-RevId: 350474335
(cherry picked from commit bec2de92ac96f7ea061556bdc4ea114a17818eea)
2021-01-14 14:22:58 -05:00
marianomartin
182b297ce3
[TimePicker] Fixed numbers glitching on first show of time picker
...
PiperOrigin-RevId: 350417836
(cherry picked from commit 74350dead647dce3ef0f6407987c2dcf9e083bff)
2021-01-14 14:22:58 -05:00
marianomartin
f97779e71e
[TimePicker] Fixed text input mode to correctly restore state
...
PiperOrigin-RevId: 350349289
(cherry picked from commit 76cf0eb07ecf4268fcd47e6c1af238fae46de5c1)
2021-01-14 14:22:34 -05:00
dniz
130993de58
[TimePicker] Renamed ThemeOverlay.MaterialComponents.MaterialTimePicker to ThemeOverlay.MaterialComponents.TimePicker to be more consistent with other time picker styles
...
PiperOrigin-RevId: 347692913
(cherry picked from commit 4af9eabe8ac5246904ed461e4efadcd99410d439)
2020-12-15 17:58:14 -05:00
leticiars
1290f8224f
[TextInputLayout][a11y] Fixed placeholder text not being properly announced.
...
PiperOrigin-RevId: 346578367
(cherry picked from commit 40e33a772cab583841c2e4e88263a113c21dfa37)
2020-12-15 17:50:00 -05:00
Amr
963ad14b84
[TextInputLayout] Fix IndexOutOfBoundsException when trying to change end icon
...
Resolves https://github.com/material-components/material-components-android/pull/1788
Resolves https://github.com/material-components/material-components-android/issues/1724
Resolves https://github.com/material-components/material-components-android/issues/1748
PiperOrigin-RevId: 345541684
(cherry picked from commit dd0e697aca35b8056337a8b4a0612949fce2866b)
2020-12-15 17:49:44 -05:00
Valentin Slawicek
291486cfbf
[Snackbar] Fixes remaining NPEs from #917
...
Resolves https://github.com/material-components/material-components-android/pull/1887
GIT_ORIGIN_REV_ID=331d064eb02cb4ff1a2b84f274b8d2c98848e9d4
PiperOrigin-RevId: 345283901
(cherry picked from commit ebd322314719fb65bdfa7299274ed4662a29d88c)
2020-12-15 17:49:13 -05:00
haodong
60723fdf08
[ProgressIndicator] Fixed incorrect visibility when used in the recycler view.
...
Resolves https://github.com/material-components/material-components-android/issues/1902
Resolves https://github.com/material-components/material-components-android/issues/1914
PiperOrigin-RevId: 347417506
(cherry picked from commit 9ccad215101db0c3d7f71358fab61bdf0211d538)
2020-12-15 17:48:03 -05:00
marianomartin
3a00d7aa9a
[TimePicker] Change text input view to a view stub
...
PiperOrigin-RevId: 347387465
(cherry picked from commit cbef0d3c1be4cca254742ef1acd2a9fcf6bf8af5)
2020-12-15 17:47:57 -05:00
haodong
77cf940680
[ProgressIndicator] Renamed indeterminateAnimationType enums "seamless" and "spacing".
...
PiperOrigin-RevId: 345467359
(cherry picked from commit e5375fcb696c24e479971a65e4061891fef0083d)
2020-12-15 17:37:43 -05:00
dniz
d568e55c90
[CollapsingToolbarLayout] Updated CollapsingToolbarLayout to support framework android.widget.Toolbar (<Toolbar)
...
PiperOrigin-RevId: 345236307
(cherry picked from commit 036cff7c33b6ce285ee5a4d49d2612249e0bce1a)
2020-12-15 17:37:10 -05:00
marianomartin
79150873bd
[TimePicker] Remove hint setting
...
PiperOrigin-RevId: 345071902
(cherry picked from commit 074ed18255789c199183c79f2e860b0bd8645ee6)
2020-12-15 17:33:50 -05:00
marianomartin
9c9e6c42ba
[TimePicker] Use MaterialColors to correctly read CSLs with theme attributes
...
PiperOrigin-RevId: 345068246
(cherry picked from commit 9f791574ec86471cac8e9a915eabf449fe6c93b4)
2020-12-15 17:33:42 -05:00
connieshi
39f7d349d0
[i18n] Added or updated string translations for i18n / l10n
...
PiperOrigin-RevId: 344821092
(cherry picked from commit 725d78deb58d297cf9625b6f0c7c528ea25a23e4)
2020-12-15 17:30:50 -05:00
Sasikanth Miriyampalli
0e04c9d79a
[MaterialTimePicker] Make default theme overlay public
...
Resolves https://github.com/material-components/material-components-android/pull/1892
GIT_ORIGIN_REV_ID=da647ca589d4da3f2cebcfaef422ff7504296f09
PiperOrigin-RevId: 344275691
(cherry picked from commit 890b727dcbdaf99c8c660dfa4ef050b3d5863553)
2020-12-15 16:59:12 -05:00
isabellekim
3a0de84f21
[Chip] Update javadocs @see methods to match the actual methods.
...
PiperOrigin-RevId: 344160354
(cherry picked from commit 738cccb433acbf4ce35d2e05dce193ede785d8cf)
2020-12-15 16:40:25 -05:00
haodong
e2a54daa9c
[ProgressIndicator] Added sized styles for circular type.
...
PiperOrigin-RevId: 344141496
(cherry picked from commit 4ab8cb1d4c039a705843695f72aa4547b3fddabe)
2020-12-15 16:39:46 -05:00
Mattia Pagini
b526c77927
[BaseTransientBottomBar] Check for nullable AccessibilityService
...
Resolves https://github.com/material-components/material-components-android/issues/1885
Resolves https://github.com/material-components/material-components-android/pull/1888
GIT_ORIGIN_REV_ID=35572a920b4bdd66e416d428c55416df7c498db6
PiperOrigin-RevId: 343873267
(cherry picked from commit 2b95793ea6a9d5612dc33649b7bb5be1a4e4ee79)
2020-11-24 10:51:20 -05:00
haodong
316c68e94d
[ProgressIndicator] Corrected comments for javadoc.
...
PiperOrigin-RevId: 343570043
(cherry picked from commit 379519765a65f57c2c207f2e42637566ff365f80)
2020-11-24 10:51:00 -05:00
haodong
d57d05425b
[ProgressIndicator] Renamed some attributes.
...
PiperOrigin-RevId: 343299956
(cherry picked from commit 9d7ae04e0e2fa6b0f6a077e41aa20b0faab21364)
2020-11-24 10:49:51 -05:00
haodong
4ac0fe05d1
[ProgressIndicator] Hided AnimatorDurationScaleProvider from API.
...
PiperOrigin-RevId: 343124032
(cherry picked from commit 5ff62d30982cea552946b06ffd30207d73a9fd6e)
2020-11-24 10:49:31 -05:00
Drew Hamilton
c4f7de167f
[ShapeableImageView] Support contentPadding
...
Resolves https://github.com/material-components/material-components-android/pull/1871
GIT_ORIGIN_REV_ID=42b91686512ed77d38f5a70a26cc52157ff4184b
Co-authored-by: ymarian <38727469+ymarian@users.noreply.github.com>
PiperOrigin-RevId: 342906676
2020-11-17 15:52:38 -05:00
haodong
a99966a162
[ProgressIndicator] Made BaseProgressIndicator and BaseProgressIndicatorSpec abstract.
...
PiperOrigin-RevId: 342737029
2020-11-17 15:50:41 -05:00
haodong
be6ed3da48
[ProgressIndicator] Updated class visibility.
...
PiperOrigin-RevId: 342664697
2020-11-16 16:40:34 -05:00
connieshi
fd3639092e
[Tabs] Show tooltip with tab text or content description (if tab is icon only) when long press.
...
PiperOrigin-RevId: 342411547
2020-11-14 10:16:08 -05:00
Drew Hamilton
af73a1771e
[ShapeableImageView] Call invalidateOutline when shape is changed
...
Resolves https://github.com/material-components/material-components-android/pull/1769
PiperOrigin-RevId: 342118551
2020-11-14 10:12:36 -05:00
haodong
e1d979631d
[ProgressIndicator] Combined attributes show/hideBehaviorLinear and show/hideBehaviorCircular.
...
PiperOrigin-RevId: 342086777
2020-11-14 10:07:06 -05:00
haodong
b1ef02a16b
[ProgressIndicator] Cleaned up deprecated class and resources.
...
PiperOrigin-RevId: 342076767
2020-11-12 13:53:23 -05:00
haodong
c76665bc11
[ProgressIndicator] Deprecated LINEAR type in ProgressIndicator and ProgressIndicator.
...
PiperOrigin-RevId: 342069665
2020-11-12 13:49:35 -05:00
haodong
a5890bfe6b
[ProgressIndicator] Fixed incorrect visibility when Recyclerview is used.
...
Resolves https://github.com/material-components/material-components-android/issues/1662
PiperOrigin-RevId: 341845553
2020-11-12 10:55:00 -05:00
DHM47
492e50f873
[Badge] Updated getBadgeText to return a string representation of the number formatted using system Locale.
...
Resolves https://github.com/material-components/material-components-android/issues/1859
Resolves https://github.com/material-components/material-components-android/pull/1860
GIT_ORIGIN_REV_ID=53544cc548c041c7337a257474abdbb4025cb6f3
PiperOrigin-RevId: 341656773
2020-11-10 15:17:10 -05:00
Sasikanth Miriyampalli
c6351c45d6
[MaterialTimePicker] Fixed typo in TextAppearance.MaterialComponents.TimePicker.Title
...
Resolves https://github.com/material-components/material-components-android/pull/1858
GIT_ORIGIN_REV_ID=c4ff46a1d0400da631df37537e9e610b3cae3c01
PiperOrigin-RevId: 341608315
2020-11-10 11:11:39 -05:00
dniz
ad1d173018
[Motion] Updated MaterialContainerTransform to support overshoot and added OvershootInterpolator, AnticipateOvershootInterpolator, and BounceInterpolator options to Catalog demos
...
Allows overshoot for the translation and width/height scale parts of the container transform's animation, not the fade part of the animation.
Resolves https://github.com/material-components/material-components-android/issues/1838
PiperOrigin-RevId: 341432972
2020-11-09 13:34:50 -05:00
Maxim Sutkovenko
b2b87dd434
[Slider] Fixed slider doesn't slide in Horizontal Recycler View
...
Resolves https://github.com/material-components/material-components-android/pull/1847
Resolves https://github.com/material-components/material-components-android/issues/1843
GIT_ORIGIN_REV_ID=21cfc4d93954cdcb6ffbac00f085a3ca3b6ed2de
PiperOrigin-RevId: 340658479
2020-11-04 14:28:22 -05:00
hunterstich
6ad8301fb6
[I18n] Update string translations
...
PiperOrigin-RevId: 340622036
2020-11-04 11:22:36 -05:00
Material Design Team
9659a536b9
[Snackbar] Add support for passing a Context to Snackbar.make()
...
Currently Snackbar.make() will use the context of the parent view (typically CoordinatorLayout or decor content view) to inflate the Snackbar view. This is not desirable for cases where there may be a ContextThemeWrapper below that parent view, e.g. for a Fragment that uses material theme.
The behavior of existing methods without Context argument remain unchanged.
PiperOrigin-RevId: 340286851
2020-11-03 11:12:55 -05:00
raajkumars
be616abf49
[internal] Moved common ids from bottom navigation to central location so that it can be reused.
...
PiperOrigin-RevId: 340255767
2020-11-03 11:11:54 -05:00
isabellekim
22467b4994
[TimePicker] Add default style attribute (materialClockStyle) to the time picker theme overlay for the clock face and clock hand, making all colors on the clock customizable.
...
materialClockStyle respects the following attributes:
+ clockFaceBackgroundColor: color of the clock face
+ clockHandColor: color of the clock hand
+ clockNumberTextColor: color of the numbers on the clock (CSL, selected state is used on top of the clockHandColor)
PiperOrigin-RevId: 339469022
2020-10-29 15:16:28 -04:00
hunterstich
d4d0dcdbc6
[Motion] Update ScaleProvider and SlideDistanceProvider to respect and restore a targets original scale/translation.
...
PiperOrigin-RevId: 339309231
2020-10-28 09:46:39 -04:00