pubiqq
660423f5a2
[Slider] Add new tick visibility modes
...
Resolves https://github.com/material-components/material-components-android/pull/2897
GIT_ORIGIN_REV_ID=82e11301b0ecf48b7d8486e8b29954bd1c4aebe8
PiperOrigin-RevId: 720997942
2025-01-31 15:20:30 +00:00
kendricku
7a6866c1db
[Button] [SplitButton] Added PopupMenu to the SplitButton demo.
...
PiperOrigin-RevId: 720684004
2025-01-31 15:17:01 +00:00
manabu-nakamura
9302f54855
[Slider] Fixed behaviour when Slider is in a scrolling container
...
Resolves https://github.com/material-components/material-components-android/pull/4511
GIT_ORIGIN_REV_ID=58e771c48f0a4bf13f62a303a9495a73f414b73b
PiperOrigin-RevId: 720309810
2025-01-28 19:49:47 +00:00
rightnao
85c4e0fc36
[FloatingToolbar] Floating toolbar should not enforce disappear on scroll behaviour within CoordinatorLayouts
...
PiperOrigin-RevId: 719361862
2025-01-27 21:01:02 +00:00
manabu-nakamura
6a7c034476
[Catalog][TimePicker] listener is added again after rotating device
...
Resolves https://github.com/material-components/material-components-android/pull/4500
GIT_ORIGIN_REV_ID=f0420864a94a0c17ecbfb0cd0a594b24a0746015
PiperOrigin-RevId: 716250724
2025-01-16 19:50:03 +00:00
pekingme
57297ae59d
[CollapsingToolbarLayout] Added multiple subtitle support.
...
PiperOrigin-RevId: 713365011
2025-01-09 13:49:55 +00:00
kendricku
c1e73c87c1
[SplitButton] Updated Split Button to match spec and address feedback.
...
Updated padding values on leading and trailing buttons and fixed the trailing icon sizing. Resolved screenshot diffs in the formatting fragment.
PiperOrigin-RevId: 713303721
2025-01-08 18:25:06 +00:00
pekingme
8598aa6ae9
[CollapsingToolbarLayout] Fixed incorrect title and subtitle positioning.
...
PiperOrigin-RevId: 712776905
2025-01-07 14:33:47 +00:00
rightnao
7f887846b5
[FloatingToolbar] Removed floating toolbar-specific icon button styles from theme overlay
...
PiperOrigin-RevId: 712607176
2025-01-07 14:12:09 +00:00
rightnao
b07e48b576
[FloatingToolbar] Update styles to consolidate horizontal/vertical styles to a single style
...
PiperOrigin-RevId: 709100303
2024-12-26 19:10:58 +00:00
hunterstich
59de693346
[Motion] Fixed typo for "spatial"
...
PiperOrigin-RevId: 708423524
2024-12-23 18:54:42 +00:00
pekingme
8726702fa2
[TopAppBar] Added a demo to show case using collapsing toolbar layout with a toggleable button; reduced the number of menu items in all demos.
...
PiperOrigin-RevId: 708397663
2024-12-23 18:49:19 +00:00
rightnao
94966194fa
[NavigationRail] Add divider functionality for expanded nav rail
...
PiperOrigin-RevId: 708103452
2024-12-20 18:45:43 +00:00
kendricku
9397801ac7
[SplitButton] Update split button styles to match spec.
...
PiperOrigin-RevId: 705488629
2024-12-16 13:06:14 +00:00
manabu-nakamura
e51767d18c
[Catalog][FloatingToolbar] Fixed top app bar container fill
...
Resolves https://github.com/material-components/material-components-android/pull/4451
GIT_ORIGIN_REV_ID=f709d2c7743dd76f513414a02ad54da86cf51cb4
PiperOrigin-RevId: 705307074
2024-12-16 13:05:21 +00:00
pekingme
782d2607da
[Collapsing Toolbar] Removed the gravity APIs for subtitle (subtitle shares same gravity as title).
...
PiperOrigin-RevId: 704844851
2024-12-16 13:01:25 +00:00
pfthomas
63e1ec9a54
[Slider] a11y fixes
...
- demos are scrollable
- fix issue where increment is reversed when Slider is vertical
PiperOrigin-RevId: 703087896
2024-12-10 17:56:45 +00:00
pubiqq
c1c19c8b3a
[Internal] Update targetApi suppressions in resources
...
Resolves https://github.com/material-components/material-components-android/pull/4308
GIT_ORIGIN_REV_ID=8016db9460e4e1013e56a50e541406ff356e2837
PiperOrigin-RevId: 702111281
2024-12-04 23:58:23 +00:00
kendricku
226753e506
[SplitButton][Button][a11y] Add content description for icon-only leading buttons.
...
PiperOrigin-RevId: 702046452
2024-12-04 23:52:51 +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
kendricku
106aaeb2d4
[SplitButton] Update split button styles to match spec.
...
PiperOrigin-RevId: 700697360
2024-12-02 20:05:49 +00:00
pekingme
05253b86d3
[TopAppBar] Added more demos.
...
PiperOrigin-RevId: 700395255
2024-12-02 20:00:06 +00:00
pekingme
7b62f646c7
[TopAppBar] Fixed minor typos in comments.
...
PiperOrigin-RevId: 700371214
2024-12-02 19:44:29 +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
rightnao
bf2bc10652
[Catalog] Updated button type to fill for FloatingToolBar demo to comply with NTC
...
PiperOrigin-RevId: 698587340
2024-11-21 17:32:44 +00:00
rightnao
3b11e7457c
[NavigationRail] Design review adjustments
...
PiperOrigin-RevId: 698483697
2024-11-21 17:32:03 +00:00
afohrman
11173a4be5
[FloatingToolbar] Added content descriptions for floating toolbar icon buttons.
...
PiperOrigin-RevId: 697725732
2024-11-21 17:29:10 +00:00
pfthomas
dff307b1df
[Card] Remove DraggableCardFragment demo for accessibility compliance
...
PiperOrigin-RevId: 697700340
2024-11-21 17:27:23 +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
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
afohrman
53efceb422
[FloatingToolbar] Renamed Floating App Bar catalog demos to Floating Toolbar.
...
PiperOrigin-RevId: 694273191
2024-11-11 13:18:53 -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
43fa5b69cd
[Button] Add additional demos to catalog.
...
PiperOrigin-RevId: 691833993
2024-11-05 12:16:07 -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
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
rightnao
3eb9178aaa
[Catalog] Fix issue with forcing orientation for portrait-only demos forcing orientation for all demos
...
PiperOrigin-RevId: 687440176
2024-10-22 20:08:03 +00:00