pubiqq
9ce14ae3fd
[Slider] Refactor track icon tinting
...
Resolves https://github.com/material-components/material-components-android/pull/4521
GIT_ORIGIN_REV_ID=674feb5f080ee2ea79245b17314d852893ece7d7
PiperOrigin-RevId: 712886599
2025-01-07 14:36:28 +00:00
pekingme
8598aa6ae9
[CollapsingToolbarLayout] Fixed incorrect title and subtitle positioning.
...
PiperOrigin-RevId: 712776905
2025-01-07 14:33:47 +00:00
rightnao
05f8c52342
[FloatingToolbar] Add inset handling
...
PiperOrigin-RevId: 712737242
2025-01-07 14:32:21 +00:00
pubiqq
ddda777dda
[Slider] Always update track bounds before drawing icons
...
Resolves https://github.com/material-components/material-components-android/pull/4488
GIT_ORIGIN_REV_ID=0437dc5fd010715429822287ec12a8f77bffbe92
PiperOrigin-RevId: 712658525
2025-01-07 14:24:56 +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
Nic Bell
cfe6dce4e9
[Text field] Make highlight text colour respect the theme rather than M3 default
...
Resolves https://github.com/material-components/material-components-android/pull/4371
GIT_ORIGIN_REV_ID=c7da763ff3620ec96fa7a6982e3ea6be99618ff1
Co-authored-by: kendrickumstattd <kendrick.umstattd@gmail.com>
PiperOrigin-RevId: 711445558
2025-01-02 17:29:31 +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
Material Design Team
95025c6728
[BottomSheet] Remove disruptive announcement "Drag handle double tapped"for BottomSheetDragHandleView.
...
PiperOrigin-RevId: 708956357
2024-12-23 18:56:36 +00:00
rightnao
a7ff8c9006
[Chip] Fix close icon focus ripple
...
PiperOrigin-RevId: 708446508
2024-12-23 18:55:42 +00:00
hunterstich
59de693346
[Motion] Fixed typo for "spatial"
...
PiperOrigin-RevId: 708423524
2024-12-23 18:54:42 +00:00
rightnao
94966194fa
[NavigationRail] Add divider functionality for expanded nav rail
...
PiperOrigin-RevId: 708103452
2024-12-20 18:45:43 +00:00
kendricku
08fff9f6f8
[SplitButton] Add chevron drawable AVD to public.
...
PiperOrigin-RevId: 708019854
2024-12-20 18:44:11 +00:00
rightnao
998fe833e2
[Carousel] Change custom Carousel strategies to be restricted visibility in order to refactor custom strategies
...
PiperOrigin-RevId: 707143621
2024-12-17 22:56:57 +00:00
rightnao
410f262649
[FloatingToolbar] Set M3 default style
...
PiperOrigin-RevId: 706756365
2024-12-16 21:54:11 +00:00
hunterstich
98169d21c4
[Motion] Added spring motion subsystem
...
PiperOrigin-RevId: 705572242
2024-12-16 13:07:30 +00:00
kendricku
9397801ac7
[SplitButton] Update split button styles to match spec.
...
PiperOrigin-RevId: 705488629
2024-12-16 13:06:14 +00:00
rightnao
2a0dda873c
[NavigationRail] Consume all touch events to avoid views under from receiving touch events.
...
PiperOrigin-RevId: 705270356
2024-12-16 13:02:13 +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
rightnao
4bc4381e24
[Carousel] Added a notifyItemSizeChanged() method
...
PiperOrigin-RevId: 704836257
2024-12-16 13:00:43 +00:00
hunterstich
4019e182e6
[Motion] Added spring motion tokens
...
PiperOrigin-RevId: 704751542
2024-12-16 12:59:36 +00:00
kendricku
ec8be9ab57
Internal change
...
PiperOrigin-RevId: 704689311
2024-12-10 18:03:07 +00:00
rightnao
2ebf28fdb5
[BottomNavigationView] Consume all touch events in BottomNavigationView so touch events are not passed to the view underneath
...
PiperOrigin-RevId: 703309708
2024-12-10 17:58:41 +00:00
pekingme
4f7bf293ea
[Tokens] Updated token outputs to v13.2.0 and integrated new AppBar tokens.
...
PiperOrigin-RevId: 703208208
2024-12-10 17:57:50 +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
rightnao
03d2c693cb
[Chip] Add @Override to Chip#setBackgroundTintList
...
PiperOrigin-RevId: 702838517
2024-12-05 00:01:57 +00:00
pfthomas
35a82030f5
[Slider] a11y fixes
...
Resolves https://github.com/material-components/material-components-android/issues/2176
PiperOrigin-RevId: 702789538
2024-12-04 23:59:28 +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
rightnao
1696ec3dcd
[NavigationBar] Fix bug where setChecked(false) is called for the previously checked item even if it's already unchecked
...
PiperOrigin-RevId: 702083973
2024-12-04 23:57:41 +00:00
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