3312 Commits

Author SHA1 Message Date
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
pekingme
0ea7b58d82 [M3][Tokens] Integrated extended palettes.
PiperOrigin-RevId: 681062134
2024-10-01 19:10:53 +00:00
Material Design Team
59a753af24 Automated g4 rollback of changelist 676427467
PiperOrigin-RevId: 680642368
2024-10-01 19:04:24 +00:00
rightnao
885f3b7292 [Carousel] Make KeylineState.Builder constructor public for customizing strategies
PiperOrigin-RevId: 679737112
2024-10-01 18:43:27 +00:00
rightnao
74b5900aaa [Carousel] Make carousel internal classes public to enable custom strategies
PiperOrigin-RevId: 679710469
2024-10-01 18:41:44 +00:00
rightnao
8c4da47b84 Automated g4 rollback of changelist 678336777
PiperOrigin-RevId: 679644812
2024-10-01 18:40:59 +00:00
dsn5ft
97d957c6c6 [SearchBar] Fix a11y issue where SearchBar darkens when focused with TalkBack
PiperOrigin-RevId: 679614664
2024-10-01 18:40:14 +00:00
rightnao
246fa677b3 [TextInputLayout] Start outline cutout bounds at a y location of 0 to encompass any possible vertical shifts due to a size difference between the placeholder text and the edit text
PiperOrigin-RevId: 679308079
2024-10-01 18:39:27 +00:00
dsn5ft
11068909c2 [Predictive Back] Add safety checks for float != NaN
Resolves https://github.com/material-components/material-components-android/issues/4307

PiperOrigin-RevId: 678679393
2024-09-25 14:34:06 +00:00
pfthomas
f141ed3ba2 [DatePicker][a11y] Fix contrast for hint color
PiperOrigin-RevId: 678345966
2024-09-25 14:28:37 +00:00
rightnao
13dbcfcba5 [NavigationBar] Add new textviews for horizontal textview instead of moving it between layouts
PiperOrigin-RevId: 678336777
2024-09-25 14:27:34 +00:00
dsn5ft
18fd815e42 [i18n] Update string translations for date picker and loading indicator
PiperOrigin-RevId: 678318957
2024-09-25 14:26:03 +00:00
dsn5ft
3ce7c2bb18 [SearchBar] Update predictive back device corner logic to handle each corner independently to fix issue where bottom corners are incorrectly rounded after canceling back gesture
PiperOrigin-RevId: 677788624
2024-09-23 15:10:54 +00:00
kendricku
20ee1ed794 [A11y][Time Picker] Adjust talkback to include "minute" and "hour" for text input fields.
PiperOrigin-RevId: 676884936
2024-09-20 19:50:21 +00:00
pubiqq
b77824fcc7 [Internal] Remove pre-Lollipop resources
Resolves https://github.com/material-components/material-components-android/pull/4280

GIT_ORIGIN_REV_ID=88ee02b5c93b51a154503b7a1f1b85ddeea3cb57
PiperOrigin-RevId: 676472901
2024-09-20 19:49:20 +00:00
pekingme
47cbd7e81a [Tokens] Upgraded to 10.0.1
PiperOrigin-RevId: 676467444
2024-09-20 19:48:02 +00:00
pfthomas
cebb0572a8 [Slider][a11y] Limit values to 2 decimals in the content description
PiperOrigin-RevId: 676427467
2024-09-20 19:45:27 +00:00
pfthomas
d049a427c4 [DatePicker][a11y] Properly announce selected year
PiperOrigin-RevId: 676374895
2024-09-20 19:44:02 +00:00
rightnao
cc09ce8d55 [NavigationRail] Add scrollingEnabled attribute and update NavigationRail to have unlimited items when expanded while keeping the limit of 7 items while collapsed, and add demo to catalog
PiperOrigin-RevId: 676208760
2024-09-20 19:42:33 +00:00
rightnao
f9aaf037f9 [Textfield] Set error icon to uncheckable
PiperOrigin-RevId: 676067853
2024-09-20 18:49:58 +00:00
pfthomas
c06ef1bc86 [DatePicker][a11y] Properly announce the change of selection between year/day
PiperOrigin-RevId: 675901350
2024-09-19 19:46:56 +00:00
rightnao
c08ee839e9 [NavigationRail] Fixed issue where top padding was not respected if menu gravity was center or bottom in certain scenarios
PiperOrigin-RevId: 675656279
2024-09-19 19:44:07 +00:00
leticiars
8932a81ea4 [DatePicker] Update header layout to include horizontal insets so that buttons are not overlapped by navigation system UI in fullscreen mode.
Resolves https://github.com/material-components/material-components-android/issues/3956

PiperOrigin-RevId: 675552238
2024-09-19 15:01:06 +00:00
dsn5ft
762835145c [Badge][Toolbar] Fix issue where menu item content description is not reset after clearing badge content
PiperOrigin-RevId: 675531679
2024-09-17 13:27:58 +00:00
pekingme
35cc084700 [Shape] Refined shapes in MaterialShapes.
PiperOrigin-RevId: 672784467
2024-09-11 15:04:12 +00:00
rightnao
928522087b [NavigationRail] Add submenu support
PiperOrigin-RevId: 670703103
2024-09-04 16:43:23 +00:00
pubiqq
23aca03255 [Internal] Remove pre-Lollipop checks
Resolves https://github.com/material-components/material-components-android/pull/4266

GIT_ORIGIN_REV_ID=1de7808e66dd6666c893217c76c7499afe2df6a3
PiperOrigin-RevId: 669688797
2024-09-03 13:31:29 +00:00
pekingme
e40bc47bb6 [ButtonGroup] Integrated tokens.
PiperOrigin-RevId: 669673492
2024-09-03 13:30:45 +00:00
pekingme
87076dd20b [Tokens] Upgraded to 8.0.0.
PiperOrigin-RevId: 669673113
2024-09-03 13:28:26 +00:00
pekingme
5274e55133 [IconButton] Integrated new tokens.
PiperOrigin-RevId: 669116200
2024-08-30 18:52:39 +00:00
pekingme
7bccdc2356 [Button] Integrated new tokens.
PiperOrigin-RevId: 669112326
2024-08-30 18:51:47 +00:00
pekingme
9188b8f6ab [Tokens] Upgraded to 7.1.0.
PiperOrigin-RevId: 669087033
2024-08-30 18:49:53 +00:00
rightnao
f19ab5e9ce [NavSuite] Token integration
PiperOrigin-RevId: 668568578
2024-08-28 22:37:21 +00:00
pekingme
6cc5750cd3 [LoadingIndicator] Integrated tokens.
PiperOrigin-RevId: 668232801
2024-08-28 22:36:37 +00:00
pekingme
b65df32b0f [Tokens] Upgraded to 7.0.0
PiperOrigin-RevId: 668133320
2024-08-28 22:34:40 +00:00
pekingme
ac1a00021c [ToggleButtonGroup] Fixed incorrect A11y class name in child button added in single selection group.
PiperOrigin-RevId: 666950537
2024-08-27 15:59:57 +00:00
manabu-nakamura
967dcd5e07 [Slider] Fix slider label not moving
Resolves https://github.com/material-components/material-components-android/pull/4104

GIT_ORIGIN_REV_ID=676308a77b429610192b1df80becb656e6053811
PiperOrigin-RevId: 666511279
2024-08-23 18:07:42 +00:00
rightnao
179503512f [NavigationView] Add start/end scrim enable/disable methods
PiperOrigin-RevId: 666430643
2024-08-22 19:06:13 +00:00
pekingme
29ce8d32c3 [ButtonGroup] Added a new component ButtonGroup.
PiperOrigin-RevId: 666359073
2024-08-22 19:05:09 +00:00
pekingme
00e1e4b106 [LoadingIndicator] Fixed a bug due to the limitation of hardware accelerated rendering.
Resolves https://github.com/material-components/material-components-android/issues/4265

PiperOrigin-RevId: 665920027
2024-08-21 17:26:40 +00:00
pekingme
8731cad96a [Tokens] Upgraded to v6.1.0.
PiperOrigin-RevId: 665569215
2024-08-21 17:24:43 +00:00
Material Design Team
31f80151a9 [Snackbar] Set the accessibility pane title right before the Snackbar's appearance to resolve an event stream issue
PiperOrigin-RevId: 664967701
2024-08-20 17:36:35 +00:00
rightnao
544180ae29 [NavigationBar] Re-implement exclusive checkability to encompass whole menu, instead of just the current menu
PiperOrigin-RevId: 664877824
2024-08-19 17:53:07 +00:00
pekingme
f46c78cbae [Shape] Moved utility functions for MaterialShapes to MaterialShapes.
PiperOrigin-RevId: 663482774
2024-08-16 17:36:14 +00:00
pekingme
1d4c076a0e [LoadingIndicator] Added a new component.
PiperOrigin-RevId: 663371718
2024-08-16 17:35:28 +00:00
pekingme
21ba18a4af [Shape] Added Material endorsed shapes.
PiperOrigin-RevId: 663370897
2024-08-16 17:34:51 +00:00
Material Design Team
f3aacd7bc6 [FloatingActionButton] Add an accessibility role to FloatingActionButton and ExtendedFloatingActionButton.
PiperOrigin-RevId: 663363115
2024-08-16 17:33:56 +00:00
pekingme
da0b738679 [Tokens] Upgraded to v5.0.0.
PiperOrigin-RevId: 663358341
2024-08-16 17:33:16 +00:00
hunterstich
25083f4518 [Typography] Add emphasized typography styles
PiperOrigin-RevId: 662904526
2024-08-16 17:31:32 +00:00
rightnao
5378d52fad [NavigationBarView] Update item pool to be the size of the menu
PiperOrigin-RevId: 662183567
2024-08-13 17:39:20 +00:00