612 Commits

Author SHA1 Message Date
kendricku
9f801b87bc [Button] Add documentation about SplitButton
PiperOrigin-RevId: 691831836
2024-11-05 12:13:39 -08: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
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
f09c562eb5 [Docs][BottomSheet] Add more information to BottomSheetDialogFragment docs
PiperOrigin-RevId: 686706770
2024-10-17 16:56:06 +00:00
rightnao
7f01739644 [TextInputLayout] Add hintMaxLines attribute
PiperOrigin-RevId: 685884472
2024-10-15 16:51:14 +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
74b5900aaa [Carousel] Make carousel internal classes public to enable custom strategies
PiperOrigin-RevId: 679710469
2024-10-01 18:41:44 +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
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
pekingme
d1647968b9 [ProgressIndicator] Added top and bottom paddings to ensure the focus indicator (green box with talkback) to draw properly in catalog.
PiperOrigin-RevId: 676047704
2024-09-19 20:28:28 +00:00
rightnao
07d2584c1e [Docs][RadioButton] Update docs to use M3 screenshots
Resolves https://github.com/material-components/material-components-android/issues/4282

PiperOrigin-RevId: 672724449
2024-09-11 15:03:13 +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
b3e12f9e55 [LoadingIndicator] Fixed links in the dev doc.
PiperOrigin-RevId: 668636052
2024-08-29 18:47:30 +00:00
rightnao
f19ab5e9ce [NavSuite] Token integration
PiperOrigin-RevId: 668568578
2024-08-28 22:37:21 +00:00
rightnao
94e54e4994 [Docs] Update width
Resolves https://github.com/material-components/material-components-android/issues/4270

PiperOrigin-RevId: 668083866
2024-08-28 22:33:17 +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
1d4c076a0e [LoadingIndicator] Added a new component.
PiperOrigin-RevId: 663371718
2024-08-16 17:35:28 +00:00
pekingme
4efcf870ff [Button] Refactored the main demo.
PiperOrigin-RevId: 660428578
2024-08-12 12:15:54 -07:00
rightnao
b34fff342b [NavigationBar] Add item gravity attribute and setter/getter
PiperOrigin-RevId: 660062964
2024-08-07 13:52:06 +00:00
pekingme
ef1e1cdbfc [Button] Added corner morph.
PiperOrigin-RevId: 657325202
2024-07-30 09:14:03 -07:00
rightnao
b184df6848 [NavigationBar] Add active indicator attributes to change active indicator height, width, and horizontal margins when it is in an expanded state (ie. when start icon gravity is set to 'start')
PiperOrigin-RevId: 657266378
2024-07-30 09:12:47 -07:00
pekingme
af95f452ed [ProgressIndicator] Added APIs to support different wavelength for determinate and indeterminate modes; and renamed confusing APIs.
PiperOrigin-RevId: 651565924
2024-07-22 18:23:15 +00:00
pekingme
63bb499f98 [ButtonToggleGroup] Renamed insideCorner to innerCorner.
PiperOrigin-RevId: 639864920
2024-06-05 18:30:46 +00:00
rightnao
99e8044f85 [NavigationRail] Add item spacing attribute
PiperOrigin-RevId: 639835301
2024-06-05 18:29:56 +00:00
rightnao
abb6e91a0a [NavigationBar] Add new itemIconGravity attribute
PiperOrigin-RevId: 638866190
2024-06-05 18:24:24 +00:00
rightnao
801ccab0c0 [NavigationRail] Add new attributes for NavigationRail to control the top margin of the nav rail content, and the margin in between the optional header and the menu items
PiperOrigin-RevId: 637957360
2024-06-05 18:22:06 +00:00
Material Design Team
e4f00fda11 Automated g4 rollback of changelist 637051547
PiperOrigin-RevId: 637099379
2024-05-28 16:59:17 +00:00
pekingme
384d58fb98 [Button] Added responsive touch (corner morph).
PiperOrigin-RevId: 637051547
2024-05-25 02:19:11 +00:00
dsn5ft
cb5dc7f5a0 [Docs][Search] Update doc with more info on SearchView EditText and nested content
Resolves https://github.com/material-components/material-components-android/issues/4189

PiperOrigin-RevId: 636998698
2024-05-25 02:07:42 +00:00
pubiqq
9a39e222d8 [Docs] Fix anchors.
Resolves https://github.com/material-components/material-components-android/pull/4015

GIT_ORIGIN_REV_ID=0b4097653df971659ed1526e450bc40030f502e3
PiperOrigin-RevId: 634017580
2024-05-16 14:03:41 +00:00
rightnao
9451acdb05 [Badge] Add badgeFixedEdge attribute to BadgeDrawable.
By default, badges are fixed at their start edge (meaning they grow towards the end). If using a badgeGravity corresponding to the start, you will need to update to badgeFixedEdge=end to maintain the same grow towards the start behavior as before

PiperOrigin-RevId: 632236586
2024-05-13 15:48:21 +00:00
katsutomu
fdc7472d49 [Doc][Divider] Fix wrong divider color
Resolves https://github.com/material-components/material-components-android/pull/4027

GIT_ORIGIN_REV_ID=9668d40e122d53edccc7ad97d282b0e39676d5bf
PiperOrigin-RevId: 632165113
2024-05-09 18:49:47 +00:00
rightnao
0d265b7ca5 [Badge] Deprecate autoAdjustToGrandparentBounds attribute since now badges automatically move within first ancestor view that does not clip children
PiperOrigin-RevId: 630215388
2024-05-03 19:29:13 +00:00
pekingme
fb4761cc20 [ButtonToggleGroup] Added APIs to customize inside spacing and corner size between buttons.
PiperOrigin-RevId: 628469557
2024-04-29 19:03:54 +00:00
dsn5ft
a35b6b835c [Bottom Sheet] Add ability to disable dragging/expanding/collapsing the sheet when touching/scrolling the nested scrolling child view
PiperOrigin-RevId: 624204480
2024-04-12 20:03:30 +00:00
hunterstich
0a21fe77d0 [Dialog] Updated docs to have a short description of each available dialog theme overlay
Resolves https://github.com/material-components/material-components-android/issues/4121

PiperOrigin-RevId: 620282852
2024-04-02 14:55:44 +00:00
pfthomas
f3a93d09a9 [NTC][Slider] Make tick size defaults to the stop indicator size if set
PiperOrigin-RevId: 617609939
2024-03-20 22:36:53 +00:00
pekingme
46fa6465fe [Cleanup] Internal change
PiperOrigin-RevId: 608668937
2024-02-29 08:27:55 -08:00
Material Design Team
5471b8d37a Internal change
PiperOrigin-RevId: 607976596
2024-02-26 13:44:54 -08:00
CWorld
b80efdd3cb [Doc][TopAppBar] Detailed description of code example for collapsing toolbar style
Resolves https://github.com/material-components/material-components-android/pull/3915

GIT_ORIGIN_REV_ID=88bb0c690dc9fb8386165acfffcf9d18ae897f1d
PiperOrigin-RevId: 601582020
2024-01-26 21:29:09 +00:00
leticiars
d73b3a47be [Doc] Update icon button section of Buttons doc.
Resolves https://github.com/material-components/material-components-android/issues/3996

PiperOrigin-RevId: 600464809
2024-01-22 18:28:45 +00:00
pfthomas
a641e18b6a [NTC][Slider] Update documentation
PiperOrigin-RevId: 597297222
2024-01-10 19:01:14 +00:00
pfthomas
7e9318e2c3 [NTC][ProgressIndicator] Update documentation
PiperOrigin-RevId: 597032677
2024-01-10 18:25:22 +00:00
dsn5ft
0748414a1d [Docs][Button] Add note about MaterialButton icon button performance and alternatives
PiperOrigin-RevId: 591042198
2023-12-15 20:42:06 +00:00
dsn5ft
90d6583577 [Search] Update demos and doc to use AppBarLayout app:statusBarForeground in order to avoid overlap between SearchBar and status bar content
Resolves https://github.com/material-components/material-components-android/issues/3103
Resolves https://github.com/material-components/material-components-android/issues/3358
Resolves https://github.com/material-components/material-components-android/pull/3914
Resolves https://github.com/material-components/material-components-android/pull/3875

PiperOrigin-RevId: 590953070
2023-12-14 18:21:06 +00:00
Biswapriyo Nath
90e15d819a [Docs] Fix API reference link of FloatingActionButton
Resolves https://github.com/material-components/material-components-android/pull/3919

GIT_ORIGIN_REV_ID=a6fa54af8db6c86c9a73405c0664ad52a022016c
PiperOrigin-RevId: 590268674
2023-12-13 16:28:26 +00:00
rightnao
9e64a1f5f6 [Carousel][Docs] Recommend snapping for multi-browse strategy
PiperOrigin-RevId: 588114790
2023-12-05 22:41:20 +00:00
dsn5ft
dfa474fdc7 [Docs] Remove broken link from Search doc
Resolves https://github.com/material-components/material-components-android/issues/3872

PiperOrigin-RevId: 585651225
2023-11-27 17:35:51 -05:00