5759 Commits

Author SHA1 Message Date
Hunter Stich
cd2d3af658 Migrate to AGP 8.7 2024-11-11 14:28:43 -08:00
kendricku
43fa5b69cd [Button] Add additional demos to catalog.
PiperOrigin-RevId: 691833993
2024-11-05 12:16:07 -08:00
kendricku
9f801b87bc [Button] Add documentation about SplitButton
PiperOrigin-RevId: 691831836
2024-11-05 12:13:39 -08:00
kendricku
3bb2df80f3 [Button] Migrate trailing icon related resources for SplitButton.
PiperOrigin-RevId: 691793018
2024-10-31 21:56:27 +00:00
Material Design Team
e70a51c64b Remove unnecessary uses of LooperMode(PAUSED)
PAUSED Looper mode has been the default for many years. Explicitly specifying
PAUSED Looper mode is not necessary.

PiperOrigin-RevId: 691527611
2024-10-31 21:55:30 +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
rightnao
31fa4122c7 [ExtendedFloatingActionButton] Add a method to ExtendedFloatingActionButton to enable/disable animations.
PiperOrigin-RevId: 688229664
2024-10-22 20:17:25 +00:00
pekingme
9fe362f8f3 [Timepicker] Fixed Japanese translation.
Resolves https://github.com/material-components/material-components-android/issues/3861

PiperOrigin-RevId: 688222395
2024-10-22 20:13:27 +00:00
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
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
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
fa51cb9aad [Release] Updated to 1.13.0-alpha07
PiperOrigin-RevId: 686959034
1.13.0-alpha07
2024-10-17 17:18:17 +00:00
rightnao
f09c562eb5 [Docs][BottomSheet] Add more information to BottomSheetDialogFragment docs
PiperOrigin-RevId: 686706770
2024-10-17 16:56:06 +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
hunterstich
b11064cf5c [Motion] Removed API 21 sections from documentation.
PiperOrigin-RevId: 686127091
2024-10-16 04:09:40 +00:00
afohrman
541433b759 [Floating Toolbar] Add initial catalog demo for Floating Toolbar.
PiperOrigin-RevId: 686112314
2024-10-16 04:08:25 +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
rightnao
90ab51eb6d [Catalog] Fix issue with ListPopupWindow a11y
PiperOrigin-RevId: 683696939
2024-10-09 16:50:31 +00:00
pekingme
237f5ec946 [Slider] Updated to show tooltips when focus by a11y.
PiperOrigin-RevId: 683257820
2024-10-09 16:36:10 +00:00
dsn5ft
8eae09d9ac [Doc] Update Menu doc to link to androidx PopupMenu / ListPopupWindow instead of framework
Resolves https://github.com/material-components/material-components-android/issues/4332

PiperOrigin-RevId: 683179105
2024-10-07 14:48:09 +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
dependabot[bot]
039b484a06 [Internal][Gradle] (deps): Bump com.google.guava:guava from 33.2.1-android to 33.3.1-android in /catalog
Resolves https://github.com/material-components/material-components-android/pull/4322

GIT_ORIGIN_REV_ID=2c5689eea4766c91eeab5ac74fefb6ea0f0641e5
PiperOrigin-RevId: 681105455
2024-10-07 13:57:31 +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
rightnao
38124d1f5b [Catalog] Changed checkboxes in checkbox demo to be displayed vertically since there isn't enough horizontal space when font is large
PiperOrigin-RevId: 680664451
2024-10-01 19:10:12 +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
kendricku
ade1437cfd [Bottom Sheet] [Catalog] Add new non-expandable demo for debugging.
PiperOrigin-RevId: 679169657
2024-09-26 16:21:15 +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
dsn5ft
75c1d30c7d [Catalog] Remove horizontal padding from toolbar demo
PiperOrigin-RevId: 678374802
2024-09-25 14:33:24 +00:00
leticiars
43b0e46804 [Catalog][TopAppBar][a11y] Fix toolbar close button not having a content description
PiperOrigin-RevId: 678362412
2024-09-25 14:32:42 +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
pekingme
04435855ac [Slider] Fixed a scroll demo fragment to have more granular steps.
PiperOrigin-RevId: 677909855
2024-09-25 14:25:00 +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
Material Design Team
9a8ca4d210 [Internal] Robolectric cleanup
PiperOrigin-RevId: 676981992
2024-09-21 15:03:31 +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