hunterstich
1a25706f3a
[Carousel] Fixed explore by touch causeing list to scroll
...
PiperOrigin-RevId: 506701246
2023-02-03 21:01:00 +00:00
dsn5ft
bdb6f5dc47
[CollapsingToolbarLayout] Fix issue with multiline title text flickering when titleCollapseMode=fade
...
PiperOrigin-RevId: 506622125
2023-02-02 16:51:40 +00:00
hunterstich
26697c3835
[Carousel] Fixed MultiBrowseCarouselConfiguration javadoc
...
PiperOrigin-RevId: 506597723
2023-02-02 16:51:09 +00:00
rightnao
3c1ac05fac
[Badge] Update M3 style to match specs. Alignment tweaks, text appearance change
...
resolves https://github.com/material-components/material-components-android/issues/3175
PiperOrigin-RevId: 506426087
2023-02-02 16:50:22 +00:00
hunterstich
ff48bc5e3b
[Carousel] Removed CenteredCarouselConfiguration.
...
This removes CenteredCarouselConfigration and its superclass MultibrowseCarouselConfiguration and renames StartCarouselConfiguration to MultiBrowseCarouselConfiguration.
PiperOrigin-RevId: 506424085
2023-02-01 22:32:20 +00:00
pubiqq
e2636ff33d
[Search] Fix expand/collapse animation for large screen devices
...
Resolves https://github.com/material-components/material-components-android/pull/3198
GIT_ORIGIN_REV_ID=717d2bf381259822d0aff9b7d40d16579d362b21
PiperOrigin-RevId: 506324275
2023-02-01 22:31:41 +00:00
pfthomas
56f816cc33
[MaterialDatePicker] Fix broken layout when custom description is used
...
Resolves https://github.com/material-components/material-components-android/issues/3179
PiperOrigin-RevId: 506311285
2023-02-01 15:35:26 +00:00
pekingme
dac9450bfb
[Tokens] Introduced new accent color tokens.
...
PiperOrigin-RevId: 506307041
2023-02-01 15:17:39 +00:00
pekingme
23dc14ca3a
[Tokens] Updated to v0.157.
...
PiperOrigin-RevId: 505978081
2023-01-31 20:01:13 +00:00
hunterstich
0f179b38e9
[Carousel] Add a11y focus scrolling support
...
PiperOrigin-RevId: 505783943
2023-01-31 19:51:12 +00:00
rightnao
d0d0f54018
[Badge] Add new 'offsetAlignmentMode' attribute that determines where the offset starts for the badge.
...
PiperOrigin-RevId: 505222416
2023-01-30 16:43:42 +00:00
pfthomas
8656683639
[MaterialButtonToggleGroup][a11y] Update accessibility class name
...
PiperOrigin-RevId: 504557810
2023-01-26 17:09:27 +00:00
pfthomas
2cef555994
[MaterialDatePicker] Fix NPE
...
PiperOrigin-RevId: 504263005
2023-01-24 17:03:54 +00:00
dsn5ft
86600c2cf1
[MaterialToolbar] Override inflateMenu() to stop dispatching item changes during inflation for a performance improvement
...
PiperOrigin-RevId: 503995162
2023-01-24 11:55:47 -05:00
pfthomas
6f0a953c2b
[MaterialTimePicker] Fix NPE
...
PiperOrigin-RevId: 503974850
2023-01-24 11:54:14 -05:00
pekingme
355702f954
[BottomNavigation] Integrated tokens.
...
Created a new copy of CSL of icon/text/ripple tint for navigation bar. Before this change, they are shared with navigation rail.
Changed item text appearance from textAppearanceTitleSmall to textAppearanceLabelMedium
PiperOrigin-RevId: 503210110
2023-01-24 16:45:31 +00:00
pfthomas
c484ea7da2
[MaterialCalendar] Fix NPE
...
PiperOrigin-RevId: 502984835
2023-01-19 17:52:32 +00:00
pekingme
4c31ab50aa
Automated g4 rollback of changelist 498007913
...
PiperOrigin-RevId: 502944558
2023-01-19 17:49:56 +00:00
pfthomas
3b99749bc8
[DropdownMenu][a11y] Fix incorrect state
...
PiperOrigin-RevId: 502659684
2023-01-18 15:26:10 +00:00
pfthomas
7f1def6d3c
[MaterialTimePicker] Limit 24h input validation to 23
...
Resolves https://github.com/material-components/material-components-android/issues/3149
PiperOrigin-RevId: 501869529
2023-01-17 15:14:41 +00:00
pekingme
7f0db1ab15
[RadioButton] Integrated tokens.
...
Unselected icon color is changed from colorOnSurface to colorOnSurfaceVariant.
PiperOrigin-RevId: 501869216
2023-01-17 15:14:13 +00:00
hunterstich
4ecba81de6
[Carousel] Release carousel component
...
PiperOrigin-RevId: 501635363
2023-01-12 12:25:52 -08:00
Material Design Team
b892849dc8
[M3][Color] Internal color updates
...
PiperOrigin-RevId: 501629282
2023-01-12 12:22:52 -08:00
pekingme
bf188c7d2b
[IconButton] Integrated tokens.
...
Icon size is changed from 20dp to 24dp.
PiperOrigin-RevId: 500988634
2023-01-11 22:53:27 +00:00
rightnao
f0053fd3f9
[BottomAppBar] Change Bottom App Bar to place FAB through y translation rather than through margins
...
Resolves https://github.com/material-components/material-components-android/issues/3097
PiperOrigin-RevId: 500806426
2023-01-11 22:52:59 +00:00
pekingme
f8eca49c9c
[Dialog] Integrated tokens.
...
PiperOrigin-RevId: 500718931
2023-01-10 02:44:42 -05:00
hunterstich
a4107b9072
Automated g4 rollback of changelist 499286690
...
PiperOrigin-RevId: 499947079
2023-01-10 02:42:19 -05:00
afohrman
8e12e31c9a
[Adaptive][Side Sheet] Renamed references to "outwards" to "outer".
...
"Outer" is clearer than "outwards".
PiperOrigin-RevId: 499904971
2023-01-05 12:59:26 -05:00
afohrman
e88e341699
[Adaptive][Side Sheet] Renamed private calculateSlideOffsetBasedOnOutwardEdge method to calculateSlideOffset in SheetDelegate and RightSheetDelegate.
...
The slide offset isn't actually based on the outer edge; changing the outer edge wouldn't change the slide offset calculation.
PiperOrigin-RevId: 499877224
2023-01-05 12:58:03 -05:00
afohrman
3b61327513
[Adaptive][Side Sheet] Added accessibilityPaneTitle to side sheet.
...
This adds an accessibilityPaneTitle that is spoken by TalkBack on API levels 19 and later.
In order to trigger the accessibilityPaneTitle event, it was necessary to add a visibility change when the sheet is expanded and hidden. The sheet now is INVISIBLE at STATE_HIDDEN and VISIBLE at all other states.
Also removed the code to switch focus to the sheet on expansion in favor of this approach to align with TalkBack's APIs.
PiperOrigin-RevId: 499604691
2023-01-05 12:57:15 -05:00
pekingme
8c8db7e874
[NavigationView] Integrated tokens.
...
Changed the width from 280dp to 360dp
PiperOrigin-RevId: 499479992
2023-01-05 12:51:35 -05:00
hunterstich
acfd97f7ac
[NavigationBar][NavigationRail] Expose getMenuView
...
PiperOrigin-RevId: 499286690
2023-01-05 12:50:15 -05:00
pfthomas
cd5246f49e
[MaterialDatePicker][a11y] Improve date input validation feedback follow up
...
PiperOrigin-RevId: 498167309
2022-12-29 00:21:20 -05:00
Material Design Team
0200690256
Automated g4 rollback of changelist 497863181
...
PiperOrigin-RevId: 498007913
2022-12-29 00:20:39 -05:00
pekingme
44445fa90a
[AppBar] Integrated tokens.
...
PiperOrigin-RevId: 497863181
2022-12-29 00:19:54 -05:00
pfthomas
e1688f3d19
[MaterialDatePicker][a11y] Improve date input validation feedback
...
Resolves https://github.com/material-components/material-components-android/issues/2223
Add `TextInputLayout.setErrorAccessibilityLiveRegion` and `TextInputLayout.getErrorAccessibilityLiveRegion` to allow controlling the way the TextInputLayout error is announced.
Example:
```
textInputLayout.setErrorAccessibilityLiveRegion(ViewCompat.ACCESSIBILITY_LIVE_REGION_NONE);
```
PiperOrigin-RevId: 497323465
2022-12-29 00:19:00 -05:00
pfthomas
09f26073ae
[MaterialDatePicker] Fix headerTitle text size
...
PiperOrigin-RevId: 497183320
2022-12-22 23:48:23 +00:00
pekingme
e7d757a5da
[SideSheet] Integrated tokens.
...
PiperOrigin-RevId: 497126105
2022-12-22 23:47:09 +00:00
pfthomas
11c1df9c8f
[MaterialDatePicker] Unhide setFirstDayOfWeek
...
Resolves https://github.com/material-components/material-components-android/issues/1949
PiperOrigin-RevId: 496865765
2022-12-21 21:14:25 +00:00
Material Design Team
e7e9747c28
[M3][Color] Internal Color changes.
...
PiperOrigin-RevId: 495968907
2022-12-19 23:00:52 +00:00
Material Design Team
93f8ffb46a
[Slider] Add mouse support for slider control.
...
This change makes it so that mouse input does not behave exactly like touch when using a slider. Previously, any time a touch event was detected on a slider bar, we would postpone updating the slider position because there was potential for a pan drag if the container was a scrollable view. See cl/286431744. However for mouse input this should never apply because a mouse down event should not be able to scroll the container.
This change also fixes the halo not updating when clicking or touching down on the slider (without dragging). This isn't very noticeable when only using touch input but when hovering over the control with a mouse, you can see the halo was in the last position of the slider instead of the current position.
PiperOrigin-RevId: 495905645
2022-12-19 22:59:24 +00:00
afohrman
af16b051af
[Adaptive][Side Sheet] Removed unused methods in SheetDialog and SideSheetDialog.
...
Also remove the redundant call to supportRequestWindowFeature in SideSheetDialog's constructor.
PiperOrigin-RevId: 495715894
2022-12-16 00:58:14 +00:00
afohrman
ad3cf5ad6b
[Adaptive][Side Sheet] Add detached variant of modal side sheet.
...
PiperOrigin-RevId: 495709828
2022-12-16 00:57:15 +00:00
afohrman
938105a93b
[Adaptive] [Side Sheet] Added detached variants of standard and coplanar sheets.
...
Added logic for an innerMargin to SideSheetBehavior and delegates and incorporated innerMargin into the sheet offset calculations to account for the extra spacing and avoid a jump when dragging the sheet to STATE_EXPANDED.
Also added a colored background to the catalog demo in order to see the corners of the sheet.
PiperOrigin-RevId: 495701453
2022-12-16 00:56:31 +00:00
afohrman
2fd2d66b43
[Adaptive][Side Sheet] Fixed issue where sheet would jump to the far edge of the screen in RTL without temporary fix.
...
PiperOrigin-RevId: 495687169
2022-12-16 00:55:39 +00:00
pfthomas
d4c16e8486
[MaterialDatePicker] Capitalize standalone date
...
PiperOrigin-RevId: 495627493
2022-12-16 00:54:55 +00:00
Material Design Team
169bbca57b
[M3][Color] Added support for missing color roles.
...
PiperOrigin-RevId: 495423456
2022-12-16 00:52:58 +00:00
pubiqq
2465192173
[TabLayout] Fix confusing documentation
...
Resolves https://github.com/material-components/material-components-android/pull/3098
GIT_ORIGIN_REV_ID=200a9d2f97bffa86a2b8ee3c3746fc7b5718b7a5
PiperOrigin-RevId: 495029269
2022-12-13 13:37:50 -05:00
Material Design Team
1825b04d3c
[M3][Color] Updated content color implementation.
...
PiperOrigin-RevId: 494823736
2022-12-13 13:36:56 -05:00
dsn5ft
87ce239b01
[Docs] Remove smart characters from doc comments
...
PiperOrigin-RevId: 494733732
2022-12-12 16:40:01 -05:00