manabu-nakamura
d68ebbebdf
[TabLayout] Update ripple to match m3 specs
...
Resolves https://github.com/material-components/material-components-android/pull/4404
GIT_ORIGIN_REV_ID=bc26e80ce36665c6fb07568a17bfe6646b37a956
PiperOrigin-RevId: 702057260
2024-12-04 23:56:54 +00:00
pubiqq
767f25aa49
[Docs] Fix javadoc links
...
Resolves https://github.com/material-components/material-components-android/pull/4333
GIT_ORIGIN_REV_ID=61739e430bcda13086b83015e4054d7e318cd0d5
PiperOrigin-RevId: 700775734
2024-12-02 20:07:07 +00:00
pfthomas
05fa0ce58f
[Slider] Update corner behavior
...
- add corner "squishy" effect as the thumb approaches the edges of the track.
PiperOrigin-RevId: 700775657
2024-12-02 20:06:28 +00:00
kendricku
106aaeb2d4
[SplitButton] Update split button styles to match spec.
...
PiperOrigin-RevId: 700697360
2024-12-02 20:05:49 +00:00
rightnao
c77f997f33
[NavigationRail] Fix issue where large/multi-line text was measured incorrectly when animating to be visible from a GONE state
...
PiperOrigin-RevId: 700446168
2024-12-02 20:03:57 +00:00
pekingme
d4b9d90ee1
[MaterialShapes] Fixed uneven rotation of pentagon shape.
...
Resolves https://github.com/material-components/material-components-android/issues/4306
PiperOrigin-RevId: 700371467
2024-12-02 19:58:56 +00:00
pfthomas
e1c83edbcb
[Slider] Fix vertical slider broken with always visible labels
...
Resolves https://github.com/material-components/material-components-android/issues/4391
PiperOrigin-RevId: 700333450
2024-12-02 19:43:42 +00:00
rightnao
5a8c39a1bf
[NavigationRail][BottomNavigation] Add attributes for scaling label text to font size and for the max lines for the label
...
PiperOrigin-RevId: 700052136
2024-12-02 19:43:03 +00:00
pekingme
73b577dd6a
[TopAppBar] Added collapsing subtitle.
...
PiperOrigin-RevId: 700042153
2024-12-02 19:42:27 +00:00
rightnao
0e9ab6616d
[NavigationRail] Integrate tokens
...
PiperOrigin-RevId: 699328711
2024-12-02 19:41:20 +00:00
afohrman
c24c67db25
[FloatingToolbar] Added materialThemeOverlays to automatically set orientation and the proper icon button style on floating toolbar children.
...
These new materialThemeOverlays allow the FloatingToolbar style variants to elegantly handle configuration of its children, by automatically setting the orientation of the .Horizontal style variants' children to horizontal and the orientation of the .Vertical variants' children to vertical, and setting the appropriate icon button style for each floating toolbar variant, as determined by the parent style.
Also added vibrant icon button styles so that they can be set from the new theme overlays, so that the proper button styling is set on both checkable and non-checkable buttons on both vibrant and non-vibrant variants.
Reconfigured the catalog demo to remove android:orientation from the children since it's no longer necessary.
PiperOrigin-RevId: 699262068
2024-12-02 19:39:01 +00:00
hunterstich
e6472658a6
[Internal] Replaced MaterialThemeOverlay#wrap existing public wrap method.
...
PiperOrigin-RevId: 698796795
2024-11-21 17:36:09 +00:00
pekingme
afc392c4a2
[LoadingIndicator] Fixed the issue that animation doesn't resume when window becomes visible.
...
PiperOrigin-RevId: 698794935
2024-11-21 17:35:03 +00:00
rightnao
3b11e7457c
[NavigationRail] Design review adjustments
...
PiperOrigin-RevId: 698483697
2024-11-21 17:32:03 +00:00
Material Design Team
10f3d3bd98
[Carousel]Prevent touch events from reaching hidden views.
...
PiperOrigin-RevId: 698207866
2024-11-21 17:31:20 +00:00
kendricku
06c9ab90d9
[SplitButton] Generate tokens for Split Button component.
...
PiperOrigin-RevId: 697937775
2024-11-21 17:30:25 +00:00
pekingme
0a5f347ec9
[LoadingIndicator] Fixed unstoppable animators.
...
Resolves https://github.com/material-components/material-components-android/issues/4267
PiperOrigin-RevId: 697705431
2024-11-21 17:28:18 +00:00
pekingme
6eb44a2dfa
[ProgressIndicator] Optimized the allocation during drawing.
...
PiperOrigin-RevId: 696962725
2024-11-21 17:26:32 +00:00
pfthomas
60c09d98a1
[Slider] Add extra track icons support
...
- added support for start and end track icons
- removed the hide/show track icon logic to let the user implement it for more flexibility
- added demo
- updated tests + doc
PiperOrigin-RevId: 696960630
2024-11-21 17:25:26 +00:00
pekingme
4ec0447978
[ProgressIndicator] Added the API to adjust indeterminate animation duration scale.
...
PiperOrigin-RevId: 696942118
2024-11-21 17:24:29 +00:00
afohrman
6635bbe519
[FloatingToolbar] Fixed catalog formatting
...
PiperOrigin-RevId: 696355650
2024-11-21 17:23:40 +00:00
rightnao
0dee06f089
[Carousel] Override onHoverEvent to send correct hover events according to the mask rect, not the MaskableFrameLayout bounds
...
PiperOrigin-RevId: 696300362
2024-11-21 17:18:59 +00:00
kendricku
c40e8578ad
[Button] Update split button chevron overshoot interpolator tension to 1.0 for standard animation.
...
PiperOrigin-RevId: 696237577
2024-11-21 17:16:59 +00:00
afohrman
699302a823
[FloatingToolbar] Integrated tokens for floating toolbar and add new styles for the horizontal, vertical and vibrant style variations.
...
PiperOrigin-RevId: 696175995
2024-11-21 17:16:01 +00:00
pfthomas
5bcda8a8d7
[Slider] Add vertical support
...
- added "orientation" attr allowing for vertical support
- updated tests and doc
- added demo
PiperOrigin-RevId: 695856298
2024-11-21 17:15:02 +00:00
pekingme
7f8d63bb80
[Button] Added sizes and shape support.
...
PiperOrigin-RevId: 695840723
2024-11-21 17:14:16 +00:00
afohrman
c0231d7d60
[FloatingToolbar] Add motion for horizontal and vertical configurations of the floating toolbar.
...
PiperOrigin-RevId: 695232457
2024-11-11 13:28:44 -08:00
afohrman
655dba1a48
[FloatingToolbar] Added vertical floating toolbar configuration.
...
PiperOrigin-RevId: 694362191
2024-11-11 13:27:11 -08:00
Material Design Team
9c1ae33fdb
Automated g4 rollback of changelist 694223692
...
PiperOrigin-RevId: 694359774
2024-11-11 13:25:21 -08:00
hunterstich
7f2b363d8b
[BottomSheet] Made the drag handle clickable to cycle through bottom sheet states.
...
Clicking on the drag handle will now cycle through the available states as an accessible alternative to swiping.
PiperOrigin-RevId: 694223692
2024-11-11 13:17:40 -08:00
afohrman
72e61c948a
[FloatingToolbar] Added new Floating Toolbar component with package and updated catalog demo.
...
PiperOrigin-RevId: 693561861
2024-11-11 10:13:42 -08:00
kendricku
3bb2df80f3
[Button] Migrate trailing icon related resources for SplitButton.
...
PiperOrigin-RevId: 691793018
2024-10-31 21:56:27 +00:00
kendricku
43a5dd3a97
[Button] Added a new component SplitButton.
...
PiperOrigin-RevId: 690729978
2024-10-31 21:39:39 +00:00
rightnao
d148048a00
[NavigationRail][a11y] Add a11y announcements for when nav rail is expanded or collapsed
...
PiperOrigin-RevId: 689858577
2024-10-25 18:54:49 +00:00
rightnao
08c23dc384
[NavigationRail] Navigation rail expansion
...
PiperOrigin-RevId: 689848271
2024-10-25 18:53:02 +00:00
pfthomas
2e95296eac
[Slider] Add support for track icons
...
- added trackIconActive, trackIconActiveSize and trackIconActiveColor attrs
- added trackIconInactive, trackIconInactiveSize and trackIconInactiveColor attrs
- added tests and demos
- updated documentation
PiperOrigin-RevId: 689804000
2024-10-25 18:51:04 +00:00
rightnao
31fa4122c7
[ExtendedFloatingActionButton] Add a method to ExtendedFloatingActionButton to enable/disable animations.
...
PiperOrigin-RevId: 688229664
2024-10-22 20:17:25 +00:00
pekingme
9fe362f8f3
[Timepicker] Fixed Japanese translation.
...
Resolves https://github.com/material-components/material-components-android/issues/3861
PiperOrigin-RevId: 688222395
2024-10-22 20:13:27 +00:00
rightnao
ebcfcd18a9
[NavigationRail][BottomNavigation] Add horizontal spacing attribute for space in between the icon and the text when the item is in the start icon gravity configuration
...
PiperOrigin-RevId: 688222363
2024-10-22 20:12:15 +00:00
pfthomas
7f4413dc4f
[Slider] Make track corner size customizable
...
- add setTrackCornerSize/getTrackCornerSize to customize the track corners
- simplify track drawing logic for legacy Slider
- add demos
PiperOrigin-RevId: 688146199
2024-10-22 20:10:53 +00:00
pekingme
39be13c5c2
[Textfield] Fixed counter text order for locales AR.
...
PiperOrigin-RevId: 686993802
2024-10-18 16:59:41 +00:00
pekingme
eae3edb4a8
Automated g4 rollback of changelist 686357273
...
PiperOrigin-RevId: 686960117
2024-10-18 16:58:52 +00:00
pekingme
5441957964
[Snackbar] Updated the snackbar with action not auto-dismiss when a11y is enabled (talkback, switch access, voice access).
...
PiperOrigin-RevId: 686357273
2024-10-16 20:40:43 +00:00
rightnao
7f01739644
[TextInputLayout] Add hintMaxLines attribute
...
PiperOrigin-RevId: 685884472
2024-10-15 16:51:14 +00:00
manabu-nakamura
9bf5eddd8a
[Slider] Make sure label is removed with slider is hidden
...
Resolves https://github.com/material-components/material-components-android/issues/4319
Resolves https://github.com/material-components/material-components-android/pull/4320
GIT_ORIGIN_REV_ID=6b96f2d40b77900b3479e3af61d3fa6f7c3e7c9d
PiperOrigin-RevId: 684473315
2024-10-14 16:33:10 +00:00
rightnao
6bacb5ab22
Automated g4 rollback of changelist 679644812
...
PiperOrigin-RevId: 683795252
2024-10-09 16:56:47 +00:00
pekingme
dac7d5a0bd
[Button] Made the "checked" state independent to the "enabled" state.
...
PiperOrigin-RevId: 683754074
2024-10-09 16:53:08 +00:00
pekingme
237f5ec946
[Slider] Updated to show tooltips when focus by a11y.
...
PiperOrigin-RevId: 683257820
2024-10-09 16:36:10 +00:00
rightnao
1f56cd1783
[Slider] Fixes an exception caused by DecimalFormat not taking into account locale
...
PiperOrigin-RevId: 681165249
2024-10-07 14:17:23 +00:00
pubiqq
8f5a04c62b
[NavigationView] Change navigation item pointer icon to arrow instead of hand, since they are not external links
...
Resolves https://github.com/material-components/material-components-android/pull/4316
Resolves https://github.com/material-components/material-components-android/issues/4315
GIT_ORIGIN_REV_ID=4e40f118f90ed05a48c5877d45db91642c7dad31
PiperOrigin-RevId: 681079283
2024-10-01 19:11:39 +00:00