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
leticiars
7bb8c4da01
[TextFields] Added comments explaining edit text padding values.
...
PiperOrigin-RevId: 339295143
2020-10-28 09:45:18 -04:00
leticiars
c9f2caaf9d
Automated g4 rollback of changelist 339130013
...
PiperOrigin-RevId: 339279131
2020-10-28 09:40:41 -04:00
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