rightnao
21b74f90b2
[BottomAppBar][BottomNavigationView] Update motion specs for show/hide bar
...
PiperOrigin-RevId: 470801900
2022-08-30 11:27:36 -04:00
rightnao
3d3edce956
[Snackbar] Update motion specs
...
PiperOrigin-RevId: 470790457
2022-08-30 11:21:45 -04:00
pubiqq
0dbea2df1a
[MaterialTimePicker] Fix text appearance on the clock display
...
Resolves https://github.com/material-components/material-components-android/pull/2921
GIT_ORIGIN_REV_ID=4b00dddc1a6eac897de71cefa7f45a88113353cf
Co-authored-by: paulfthomas
PiperOrigin-RevId: 470753559
2022-08-29 10:46:43 -07:00
conradchen
6e6c53a4f4
[BottomSheet] Add shouldRemoveExpandedCorners attribute
...
PiperOrigin-RevId: 470023917
2022-08-25 15:11:36 -07:00
rightnao
6b53f62aa2
[TextInputLayout] Update motion specs for hint animation
...
PiperOrigin-RevId: 469753395
2022-08-24 14:41:36 -07:00
rightnao
c5fadac827
Automated g4 rollback of changelist 469291824
...
PiperOrigin-RevId: 469334903
2022-08-24 14:40:40 -07:00
rightnao
95ab9794cb
[DatePicker] Expose CalendarConstraints start and end getter methods
...
resolves https://github.com/material-components/material-components-android/issues/2907
PiperOrigin-RevId: 469332050
2022-08-24 14:40:13 -07:00
rightnao
fdd8dae982
[BottomAppBar][BottomNavigationView] Update motion specs for show/hide bar
...
PiperOrigin-RevId: 469291824
2022-08-24 14:38:54 -07:00
rightnao
c7a3d5e874
[Slider] Update motion attributes
...
PiperOrigin-RevId: 469285824
2022-08-24 14:37:08 -07:00
kingwang666
39b4c76c72
[SwipeDismissBehavior] Fixed drag view alpha not changing when swipeDirection is END_TO_START
...
Resolves https://github.com/material-components/material-components-android/pull/2890
GIT_ORIGIN_REV_ID=de72c31a6520ae1f9fa4e781a6fbe9609dc148b9
PiperOrigin-RevId: 469186475
2022-08-22 15:24:45 -04:00
pubiqq
6f547d4fd3
[Divider] Fixed logic of determining whether to draw divider in MaterialDividerItemDecoration.
...
Resolves https://github.com/material-components/material-components-android/pull/2818
Resolves https://github.com/material-components/material-components-android/issues/2817
Resolves https://github.com/material-components/material-components-android/issues/2771
GIT_ORIGIN_REV_ID=25b8815490fb3c362337613d5af710bc0c7533fb
PiperOrigin-RevId: 469171223
2022-08-22 15:24:04 -04:00
rightnao
d1c5a52cf4
[TabLayout] Update motion attributes for tab layout
...
PiperOrigin-RevId: 468736364
2022-08-22 15:23:26 -04:00
Material Design Team
44cc9b745c
Add @CanIgnoreReturnValue to some APIs that return this.
...
PiperOrigin-RevId: 468721442
2022-08-22 15:22:27 -04:00
pubiqq
41eb6d0ff4
[ShapeAppearance] Fix rotation angle calculation
...
Resolves https://github.com/material-components/material-components-android/pull/2915
GIT_ORIGIN_REV_ID=4d738687c2023f2e9ec527c84ff0ec5ae9dba08e
PiperOrigin-RevId: 468608301
2022-08-19 11:01:53 -04:00
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