pubiqq
60bc025aa9
[TimePicker] Use a single layout for time input
...
Resolves https://github.com/material-components/material-components-android/pull/2908
GIT_ORIGIN_REV_ID=8feed25d0f0bb4d83a04304250772e9fbed0ae6a
PiperOrigin-RevId: 468529532
2022-08-19 11:00:32 -04:00
OxygenCobalt
2958d8d51b
[BottomSheetBehavior] Add method to calculate slide offset
...
Resolves https://github.com/material-components/material-components-android/issues/2871
Resolves https://github.com/material-components/material-components-android/pull/2872
GIT_ORIGIN_REV_ID=de874ff649af0a6ad92340b3aad4e033bd84e933
PiperOrigin-RevId: 468521740
2022-08-19 10:57:18 -04:00
leticiars
581f7343c6
[Snackbar] Made snackbar javadoc more clear of how its dismissing works.
...
PiperOrigin-RevId: 468494275
2022-08-19 10:56:35 -04:00
rightnao
9db041cc52
[ExtendedFloatingActionButton] Update extend/shrink motion spec
...
PiperOrigin-RevId: 468201647
2022-08-17 14:58:55 -04:00
pubiqq
16edbb986b
[MaterialTimePicker] Fix text and cursor alignment on the clock display
...
Resolves https://github.com/material-components/material-components-android/pull/2834
Resolves https://github.com/material-components/material-components-android/issues/2832
GIT_ORIGIN_REV_ID=dbd966e3fbf8161aaea9389b14adc178bbbe7aad
Co-authored-by: paulfthomas
PiperOrigin-RevId: 468005512
2022-08-17 14:57:41 -04:00
raajkumars
4e323fa18b
[M3][Search] Added search bar component.
...
PiperOrigin-RevId: 467749926
2022-08-16 15:18:07 -04:00
leticiars
6f474b3e48
[CheckBox] Fix a11y announcement for indeterminate state.
...
PiperOrigin-RevId: 467726106
2022-08-15 15:07:16 -04:00
pubiqq
b3acd17ee4
[MaterialTimePicker] Fix TimePicker appearance for RTL
...
Resolves https://github.com/material-components/material-components-android/pull/2837
Resolves https://github.com/material-components/material-components-android/issues/2835
Resolves https://github.com/material-components/material-components-android/issues/2836
GIT_ORIGIN_REV_ID=2fa54f683b263c61933469f2bca1cdf81dbddeed
Co-authored-by: paulfthomas
PiperOrigin-RevId: 466986098
2022-08-12 14:59:33 -04:00
leticiars
ccf67f7edf
[Checkbox] Fixed pre 21 issue where the icon did not update its color according to its state properly
...
PiperOrigin-RevId: 466974893
2022-08-11 12:54:02 -04:00
dsn5ft
be650c4f57
[MaterialDatePicker] Add initialize() method to DayViewDecorator to better support configuration changes
...
Fixes an issue where compound drawables using resource qualifiers like -land will have the wrong value on rotation
PiperOrigin-RevId: 466776776
2022-08-11 12:52:12 -04:00
leticiars
9147704468
[ExposedDropdownMenu] Fixed missing icon activated color.
...
PiperOrigin-RevId: 466742317
2022-08-10 16:34:12 -04:00
leticiars
00dfeaca53
[Internal] Merge DrawableUtils classes
...
PiperOrigin-RevId: 466426273
2022-08-10 13:14:53 +00:00
pubiqq
f3a5f2ff8a
[Slider] Release slider thumb if gesture has been cancelled
...
Reoslves https://github.com/material-components/material-components-android/issues/2883
Resolves https://github.com/material-components/material-components-android/pull/2884
GIT_ORIGIN_REV_ID=e0a3ace3377b6e7ed4bc4e69470179ace3ab1d7f
PiperOrigin-RevId: 465631921
2022-08-08 11:00:18 -04:00
leticiars
8f149b10dc
[Checkbox] Added indeterminate state support to the checkbox.
...
A MaterialCheckBox can now be checked, unchecked, or indeterminate.
Resolves https://github.com/material-components/material-components-android/issues/857
PiperOrigin-RevId: 465598224
2022-08-08 10:58:39 -04:00
pubiqq
26aa22b26d
[ProgressIndicator] Finish all visibility animations when animate = false
...
Resolves https://github.com/material-components/material-components-android/pull/2740
GIT_ORIGIN_REV_ID=3b1513b589f4f0fa7d3c3f47ccb74661a4ba7e2a
PiperOrigin-RevId: 465570258
2022-08-08 10:49:05 -04:00
Material Design Team
17ac05d0e9
[M3][Colors] Add additional condition to check dynamic color supported devices
...
PiperOrigin-RevId: 465568605
2022-08-05 20:27:09 +00:00
pubiqq
cebf5919ad
[TabLayout] Fix icon position in icon-only tabs
...
Resolves https://github.com/material-components/material-components-android/issues/2767
Resolves https://github.com/material-components/material-components-android/pull/2768
GIT_ORIGIN_REV_ID=8dd880e76b80172e57573a600f3d65de846a55c0
PiperOrigin-RevId: 465559826
2022-08-05 20:26:07 +00:00
dsn5ft
debe22e397
[MaterialDatePicker] Refactor header styling to allow for multiline title with description text
...
PiperOrigin-RevId: 465538100
2022-08-05 20:02:57 +00:00
leticiars
a4d6f51b4b
[CheckBox] Fixed icon color not updating correctly in light mode in pre 21.
...
PiperOrigin-RevId: 465411407
2022-08-05 20:02:26 +00:00
rightnao
29bed9a021
[CollapsingToolbarLayout] Exposing methods to set text size for collapsed and expanded text size
...
Resolves https://github.com/material-components/material-components-android/issues/775
PiperOrigin-RevId: 465391478
2022-08-05 19:10:31 +00:00
dsn5ft
2b1af84573
[TypefaceUtils] Add defensive null check for typeface passed in to util
...
PiperOrigin-RevId: 465333642
2022-08-04 14:49:13 -04:00
pekingme
f3952f83df
[Slider] Ensured the minimum touch size of handle is 48dp
...
PiperOrigin-RevId: 465125601
2022-08-04 14:47:42 -04:00
pubiqq
51b605412a
[MaterialDatePicker] Hide month pagination from the year picker
...
Resolves https://github.com/material-components/material-components-android/pull/2875
GIT_ORIGIN_REV_ID=b8c071d568282f16f8d9b498f2bbcba11be800db
PiperOrigin-RevId: 465055372
2022-08-04 14:33:29 -04:00
dsn5ft
24201b4246
[MaterialDatePicker] Add ability to customize background color to DayViewDecorator
...
Resolves https://github.com/material-components/material-components-android/issues/2881
PiperOrigin-RevId: 464841873
2022-08-04 14:32:40 -04:00
rightnao
63f98bf5f9
[BottomAppBar] Small bugs and padding adjustments
...
resolves https://github.com/material-components/material-components-android/issues/2879
PiperOrigin-RevId: 464840315
2022-08-04 14:31:53 -04:00
pfthomas
eca825fd37
[MaterialTimePicker][a11y] Fix focus when changing input mode
...
PiperOrigin-RevId: 464622930
2022-08-04 14:29:18 -04:00
AshutoshSundresh
aa59bddca9
[MaterialSwitch] Move public.xml to the correct directory
...
Resolves https://github.com/material-components/material-components-android/pull/2759
GIT_ORIGIN_REV_ID=4e1baf0e5cc535c9e346e9a406063e47a9fe5b09
PiperOrigin-RevId: 464561173
2022-08-04 14:28:43 -04:00
hunterstich
1a336b5cec
[Animation] Update lerp to accept input ranges of any size.
...
PiperOrigin-RevId: 464517972
2022-08-04 14:27:55 -04:00
pubiqq
41d4460744
[Internal] Simplify size computations for some views
...
Resolves https://github.com/material-components/material-components-android/pull/2807
GIT_ORIGIN_REV_ID=199fecd89fb69acaaab2689a4f53966ea1dbd7de
PiperOrigin-RevId: 464151991
2022-08-04 14:24:11 -04:00
leticiars
079371fd10
[Checkbox] Fix pre-21 issue where a child of the layer drawable (the button and/or the icon drawables) may not have its constant state set up properly.
...
PiperOrigin-RevId: 464128801
2022-08-04 14:21:36 -04:00
pfthomas
ee19b01e2e
[MaterialTimePicker][a11y] Update hour content description for 24h clock
...
PiperOrigin-RevId: 464069391
2022-08-04 13:52:19 -04:00
pfthomas
e9fc0a033a
[MaterialTimePicker][a11y] Make Clock text scale with system font size
...
PiperOrigin-RevId: 464069311
2022-08-04 13:51:37 -04:00
raajkumars
edcb7fb38c
[Animation] Added AnimatableView Interface.
...
PiperOrigin-RevId: 463667818
2022-07-28 17:44:05 -04:00
dsn5ft
686bf5cb5e
[TooltipDrawable] Add @hide to Javadoc since the class is restricted
...
PiperOrigin-RevId: 463655787
2022-07-28 17:43:11 -04:00
pfthomas
cbc0711ca3
[MaterialTimePicker][24H Redesign] 2-ring support for 24H clock
...
Resolves https://github.com/material-components/material-components-android/issues/1450
This replaces the current implementation of the 24H clock mode from 1 ring to 2 rings.
The 24H picker now also defaults to text input mode.
PiperOrigin-RevId: 463652374
2022-07-28 17:42:05 -04:00
leticiars
9ca8a80468
[Checkbox] Fixed issue where AppCompatCheckBox would not display its drawable when a Material theme was being used.
...
Instead of nulling android:button and buttonCompat in the Material style, we now check if the legacy drawable is being used, and override that if so.
PiperOrigin-RevId: 463643386
2022-07-28 17:41:12 -04:00
dsn5ft
bca0f2ea8e
[MaterialDatePicker] Add support for decorating day views and a demo for circle indicators
...
Resolves https://github.com/material-components/material-components-android/issues/2854
PiperOrigin-RevId: 463608089
2022-07-28 17:39:54 -04:00
nschnettler
23b7157a64
[Badging] Fix NPE in BadgeState
...
Resolves https://github.com/material-components/material-components-android/issues/2846
Resolves https://github.com/material-components/material-components-android/pull/2848
GIT_ORIGIN_REV_ID=296c3ed2e05dd3e9f8c1cbaa71e7227cec9eec0c
PiperOrigin-RevId: 463482703
2022-07-28 17:39:17 -04:00
rightnao
d845db8979
[BottomSheetBehavior] Add attribute for significant velocity threshold
...
resolves https://github.com/material-components/material-components-android/issues/2034
PiperOrigin-RevId: 463458591
2022-07-28 17:38:16 -04:00
rightnao
e284e57d64
[TextInputLayout] Add scale type setters/getters for start and end image buttons in the TextInputLayout
...
Resolves https://github.com/material-components/material-components-android/issues/2080
PiperOrigin-RevId: 463381963
2022-07-28 17:36:31 -04:00
conradchen
a65a262933
Automated g4 rollback of changelist 457501629
...
PiperOrigin-RevId: 463094334
2022-07-25 16:17:20 +00:00
raajkumars
8a4af07979
[Icon Buttons] Added support for toggleable Icon buttons.
...
PiperOrigin-RevId: 462638190
2022-07-25 11:20:13 -04:00
raajkumars
dfbbf609c5
[Internal] Added ExpandCollapseAnimationHelper and MultiViewUpdateListener.
...
PiperOrigin-RevId: 462451046
2022-07-22 15:23:37 +00:00
conradchen
4122837619
[Slider] Fix NPE when trying to remove labels when ViewOverlay doesn't exist yet
...
Resolves https://github.com/material-components/material-components-android/issues/2845
PiperOrigin-RevId: 462418275
2022-07-22 15:22:59 +00:00
leticiars
8fae47a39e
[Checkbox] Updated checkbox to M3 look.
...
The checkbox is now composed of an `app:buttonCompat` button drawable (the squared
icon) and an `app:buttonIcon` icon drawable (the checkmark icon) layered on top
of it. The animation has also been updated.
PiperOrigin-RevId: 462244130
2022-07-22 15:22:30 +00:00
raajkumars
07938f572f
[Internal] Added utility methods to ViewUtils.
...
PiperOrigin-RevId: 462208023
2022-07-20 21:49:42 +00:00
Material Design Team
7fc2aed7dc
[AppBarLayout] Fix bug in HeaderScrollingViewBehavior that causes child translation Y not to be reset to default if the behavior is changed from an overlapping to non-overlapping behavior in layoutParams.setBehavior
...
PiperOrigin-RevId: 462201550
2022-07-20 21:49:08 +00:00
afohrman
d43416e3e4
[Side Sheets] Added new sidesheet package, new SideSheetBehavior, and basic standard side sheet demo to Adaptive Sheets catalog demo.
...
Does not include functionality or the modal side sheet. At the moment, the catalog demo includes a placeholder standard side sheet with a show/hide button that toggles the visibility between GONE and VISIBLE.
PiperOrigin-RevId: 462192554
2022-07-20 21:48:31 +00:00
raajkumars
2a58122252
[Internal] Move RectEvaluator to Material Android Library
...
PiperOrigin-RevId: 461973938
2022-07-20 21:47:03 +00:00
raajkumars
3a37288453
[Internal] Moved ReversableAnimatedValueInterpolator to Material Android Library.
...
PiperOrigin-RevId: 461963086
2022-07-20 21:45:58 +00:00