764 Commits

Author SHA1 Message Date
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
dsn5ft
22de817c30 [Docs] Internal change
PiperOrigin-RevId: 613673995
2024-03-07 20:52:14 +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
manabu-nakamura
6cb921b7dd [Docs] Fix misspelling in Color doc.
Resolves https://github.com/material-components/material-components-android/pull/4012
Resolves https://github.com/material-components/material-components-android/issues/4011

GIT_ORIGIN_REV_ID=76aff477a4365c2a048790f33c72dcaa661d901b
PiperOrigin-RevId: 600461138
2024-01-22 18:27:59 +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
pekingme
bb351291a3 [Color] Added a section in the doc for proper tonal surface color resolving.
PiperOrigin-RevId: 596123728
2024-01-09 20:05:45 +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
pfthomas
bc5987379e [NTC][ProgressIndicator] Internal changes
PiperOrigin-RevId: 581401427
2023-11-13 15:12:51 +00:00
pfthomas
42466721ca [NTC][Slider] Internal changes
PiperOrigin-RevId: 581303119
2023-11-13 14:56:39 +00:00
rightnao
92a5444de9 [Carousel] Add attributes to change small item size
PiperOrigin-RevId: 580249803
2023-11-08 15:13:51 +00:00
pekingme
5055507303 [Doc] Updated color table to color values for v34.
PiperOrigin-RevId: 579990899
2023-11-08 15:13:11 +00:00
pubiqq
81d1b772b9 [Theme] Add NoActionBar dynamic color themes
Resolves https://github.com/material-components/material-components-android/pull/3636

GIT_ORIGIN_REV_ID=ab4463028a14e4d4fbd3a613c4c402b8de39f552
PiperOrigin-RevId: 578900644
2023-11-06 13:58:24 +00:00
dsn5ft
ad2b5f8f8b [Docs][Predictive Back] Add note to clarify that automatic back handling in components is only for API 33+
Related to https://github.com/material-components/material-components-android/issues/3637

PiperOrigin-RevId: 574505672
2023-10-19 11:30:40 -07:00
dsn5ft
b8b1a662de [Docs] Update Predictive Back doc to recommend 1.10.0 stable version
PiperOrigin-RevId: 571086243
2023-10-10 10:07:30 -07:00
dsn5ft
a01a68de2d [Docs] Update doc to explain how to allow Top App Bar to grow taller in response to system font setting
PiperOrigin-RevId: 569238836
2023-10-02 13:38:50 +00:00
rightnao
247240c3cd [Docs][Carousel] Fix carousel docs
PiperOrigin-RevId: 567342773
2023-09-26 17:38:01 +00:00
rightnao
9ee4aba007 [Docs][Carousel] Add uncontained variant docs
PiperOrigin-RevId: 566796652
2023-09-20 12:31:46 +00:00
pubiqq
d7e75bba59 [Docs] Minor code block improvements
Resolves https://github.com/material-components/material-components-android/pull/3570

GIT_ORIGIN_REV_ID=ca0c9b122e669dd53ba4fbe1a06b3ec3e38ce58d
PiperOrigin-RevId: 564766453
2023-09-13 10:56:59 -04:00
dsn5ft
569ddac527 [AppBarLayout] Fix dynamic status bar foreground lift on scroll color when using Tonal Surface Color
Resolves https://github.com/material-components/material-components-android/issues/3530

PiperOrigin-RevId: 564364138
2023-09-12 10:47:09 -04:00
rightnao
caec8d2849 [Docs][Carousel] Add guidance in fullscreen strategy docs about portrait orientation
PiperOrigin-RevId: 563087886
2023-09-06 10:55:32 -04:00
rightnao
0582b1a094 [Docs][Chip] Update chip documentation to use setOnCheckedStateChangeListener instead of setOnCheckedChangeListener which was deprecated in favour of the former
Resolves https://github.com/material-components/material-components-android/issues/3536

PiperOrigin-RevId: 560125494
2023-08-25 19:22:38 +00:00
rightnao
44bfe2ddb8 [Docs][Button] Update example in docs to use colorContainer and colorOnContainer instead of colorPrimary and colorOnPrimary.
Resolves https://github.com/material-components/material-components-android/issues/3526

PiperOrigin-RevId: 558196799
2023-08-18 22:34:29 +00:00
pekingme
9a4c21d77a [Doc] Updated Color dev doc with tonal surface colors.
PiperOrigin-RevId: 557630134
2023-08-17 22:28:22 +00:00
pekingme
2114a11378 [Docs] Updated dev doc for tonal surface colors in affected components.
PiperOrigin-RevId: 556901517
2023-08-14 20:55:38 +00:00
hunterstich
4c89301330 [BackLayer] Delete BackLayer component
PiperOrigin-RevId: 550566624
2023-07-24 17:12:43 +00:00
pfthomas
db9a6412ec [MaterialSwitch] Amendments to thumb icon size support
Resolves https://github.com/material-components/material-components-android/pull/3364

PiperOrigin-RevId: 549627031
2023-07-20 22:17:48 +00:00
rightnao
547156e497 [Carousel] Add carousel alignment attribute
PiperOrigin-RevId: 548719675
2023-07-18 16:50:16 +00:00
Material Design Team
1d3b8e136d [M3][Color] Updated contrast documentation
PiperOrigin-RevId: 547823926
2023-07-17 15:56:24 +00:00
rightnao
7c40359d2b [Carousel][Docs] Adding docs for fullscreen carousel strategy
PiperOrigin-RevId: 546350583
2023-07-11 19:37:01 +00:00
afohrman
d440e3c4f8 [Side Sheet][Docs] Add left sheet/sheet edge documentation.
PiperOrigin-RevId: 546308773
2023-07-07 17:58:23 +00:00
u00d6zg\u00fcr G\u00f6rg\u00fcl\u00fc
f91f17bb4f [SideSheet][Docs] Fix mixed language snippet
Resolves https://github.com/material-components/material-components-android/pull/3466

GIT_ORIGIN_REV_ID=dc138fe98bb821da0cdbeba2c33cf95e6e775a61
PiperOrigin-RevId: 546088458
2023-07-07 17:56:25 +00:00
Bowei Ren
7289aa681d [Chip] Fix a typo in attributes table in documentation
Resolves https://github.com/material-components/material-components-android/pull/3457

GIT_ORIGIN_REV_ID=49abeeafcc26b4ac79032da56ec071fd30ee16ea
PiperOrigin-RevId: 546048151
2023-07-07 17:52:22 +00:00
rightnao
1785bbfabe [Docs] Cross-reference m.io and DAC in Github docs
PiperOrigin-RevId: 546035020
2023-07-07 17:50:11 +00:00
rightnao
27abfdba4f [Badge] Deprecate bottom badge gravities and update docs and usages in catalog
PiperOrigin-RevId: 543527285
2023-06-27 18:55:22 +00:00
rightnao
ec509cc734 [Carousel][Docs] Update docs to include hero variant
PiperOrigin-RevId: 543488844
2023-06-27 13:53:04 +00:00
rightnao
2362f4b64b [Badge][NavigationRail] Add new attribute for vertical offset when font is large
PiperOrigin-RevId: 542366571
2023-06-26 23:37:57 +00:00
rightnao
8b016a0e8b [NavigationRail][Badge] Added bigger padding in between items on the navigation rail when font scale is large so there is more room for the badges when they are forced inside the view bounds
Also fixed bug with navigation rail items moving when there is a badge vs when there is no longer a badge, and adds 4dp padding between icon container/active indicator and label text as per specs https://m3.material.io/components/navigation-rail/overview

PiperOrigin-RevId: 540349399
2023-06-14 12:47:57 -07:00
hunterstich
a67a885668 [Predictive Back] Update components to use BackEventCompat
Clients should prefer listening to back events using androidx.activity.OnBackPressedCallback which has been updated to forward BackEventCompat objects in androidx.activity:activity:1.8.0-alpha05. This updates component predictive back APIs to take in BackEventCompat objects instead of android.window.BackEvent objects to simplify usage - getting rid of the need for version checks and object conversions.

PiperOrigin-RevId: 540290323
2023-06-14 12:44:53 -07:00
pfthomas
022e217770 [Navigation] Add itemTextAppearanceActiveBoldEnabled attr
Resolves https://github.com/material-components/material-components-android/issues/3191
Resolves https://github.com/material-components/material-components-android/issues/3293

PiperOrigin-RevId: 539977391
2023-06-14 15:14:24 +00:00
dsn5ft
82a91c8455 [Predictive Back] Minor dev doc edits
PiperOrigin-RevId: 534176825
2023-05-24 14:28:35 +00:00
dsn5ft
47c307d889 [Predictive Back] Update dev docs
PiperOrigin-RevId: 533443345
2023-05-22 18:35:56 +00:00