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
dsn5ft
e4d0fd3d6c
[Docs] Fix SideSheetDialog class definition and source links
...
PiperOrigin-RevId: 533220100
2023-05-22 18:35:22 +00:00
afohrman
0bcb57074d
[Search][Docs] Revise version guidance for Search usage.
...
Now that 1.8.0 has reached stable, version guidance no longer needs to point to an alpha version.
PiperOrigin-RevId: 532898434
2023-05-22 18:33:47 +00:00
afohrman
d005ad7a0c
[Side Sheet][Docs] Add links to class definitions in Side Sheet documentation and revise version guidance.
...
Now that 1.8.0 has reached stable, class definitions are available and version guidance doesn't need to point to an alpha release.
PiperOrigin-RevId: 532897620
2023-05-22 18:33:11 +00:00
rightnao
af1fa70979
[BottomSheet][Docs] Update bottom sheet documentation
...
PiperOrigin-RevId: 532478454
2023-05-16 20:00:21 +00:00
Material Design Team
d7f9a067e3
[M3][Color] Update Color doc
...
PiperOrigin-RevId: 532459188
2023-05-16 19:59:41 +00:00
raajkumars
e157608050
[M3][Search][Docs] Adds Search class definition link to Search documentation.
...
PiperOrigin-RevId: 530386856
2023-05-09 13:14:14 -04:00
pekingme
1562d0b64f
[ExposedDropdownMenu] Added attribute to set dropdown menu's container.
...
PiperOrigin-RevId: 528578402
2023-05-02 16:10:48 -04:00
hunterstich
c031144d26
[NavigationView] Updated NavigationView to use ViewOutlineProvider to handle corner clipping when possible and remove drawerLayoutCornerClippingEnabled attribute.
...
PiperOrigin-RevId: 527633449
2023-04-27 16:38:17 -04:00
pubiqq
2e85f06247
[MaterialSwitch] Add support for setting thumb icon size
...
Resolves https://github.com/material-components/material-components-android/pull/2960
GIT_ORIGIN_REV_ID=8af4d0f06e98f4ffced715b2dcde78d7186e1afb
PiperOrigin-RevId: 526984037
2023-04-25 17:08:20 -04:00
pubiqq
44a97f4a83
[Badge] Fix table formatting and remove unnecessary badge invalidation
...
Resolves https://github.com/material-components/material-components-android/pull/3356
GIT_ORIGIN_REV_ID=9f6839aa225d567a26a7db948734c28a1bbae44a
PiperOrigin-RevId: 526735605
2023-04-25 17:06:16 -04:00
pubiqq
4d50aa41e7
[Badge] Badge cleanup/fixes:
...
- Allow single digit badges to be non-circular if the label text is too big horizontally.
- Change maxCharacterCount to truncate both strings and numbers, and add new attribute maxNumber to truncate only numbers
- Updated maxCharacterCount so that if it doesn't exist, it does not truncate instead of defaulting to a value
Resolves https://github.com/material-components/material-components-android/pull/3321
GIT_ORIGIN_REV_ID=a8f5866eef5ffd4d949b8c6d7f1451b563536a6e
Co-authored-by: imhappi
PiperOrigin-RevId: 523453145
2023-04-13 09:05:14 -07:00
pekingme
77cdc1e3ac
[Dialog] Made dialog background color configurable in XML styles.
...
PiperOrigin-RevId: 523436908
2023-04-12 07:38:27 -07:00
rightnao
b706506c3d
[Badge] Add attribute to automatically adjust badge so that it is within the anchor view's grandparent view's bounds
...
PiperOrigin-RevId: 523171594
2023-04-11 20:00:06 -07:00
Material Design Team
0a4e419242
Automated g4 rollback of changelist 522443049
...
PiperOrigin-RevId: 523143316
2023-04-11 19:57:22 -07:00
pekingme
cf006c5e10
[Search] Made SearchBar and SearchView's container colors configurable in XML style.
...
PiperOrigin-RevId: 522468493
2023-04-10 15:03:01 +00:00
pekingme
303fabd331
[Dialog] Made dialog background color configurable in XML styles.
...
PiperOrigin-RevId: 522443049
2023-04-10 14:57:51 +00:00
pekingme
ef57f699cb
[Search] Formatted tables in the eng doc.
...
PiperOrigin-RevId: 522035453
2023-04-10 14:46:27 +00:00
leticiars
c598ccd51e
[TextInputLayout] Added API to set cursor colors for API 28+.
...
This is useful if the cursor color should be set in runtime, where setting ?attr/colorControlActivated for the edit text is not possible. Using the added APIs will take precedence over the value of ?attr/colorControlActivated.
This API is limited to APIs 28+ due to the framework getTextCursorDrawable() method being 28+.
Resolves https://github.com/material-components/material-components-android/issues/3255
Resolves https://github.com/material-components/material-components-android/issues/3311
PiperOrigin-RevId: 521448134
2023-04-10 14:23:58 +00:00
rightnao
a0d0b53472
[Badge] Add getters/setters for vertical and horizontal badge padding
...
PiperOrigin-RevId: 520969935
2023-03-31 18:35:53 +00:00
pubiqq
c1ef52b8ea
[Badge] Allow text strings in badges
...
Resolves https://github.com/material-components/material-components-android/pull/2978
GIT_ORIGIN_REV_ID=39c9f60cff607fba1e9ca57ae8bc155c5919e503
Co-authored-by: imhappi
PiperOrigin-RevId: 520368686
2023-03-29 19:18:22 +00:00