3480 Commits

Author SHA1 Message Date
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
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