598 Commits

Author SHA1 Message Date
dsn5ft
8363cde162 [Color] Deprecate previous apply...() APIs and add overload for activity apply method with no options
PiperOrigin-RevId: 435344858
2022-03-17 11:40:47 -04:00
Material Design Team
b70bbc2942 [M3][Color] Iteration on HarmonizedColors and DynamicColors feedback
Removed the Context/Application/Activity in the Builders class.
Updated docs accordingly and added examples explaining how harmonizing color attributes with theme overlay works.

PiperOrigin-RevId: 433769484
2022-03-10 20:04:09 +00:00
pekingme
ca8594d2d2 [Slider] Added LABEL_VISIBLE to label behavior and added a demo fragment in catalog.
Resolves https://github.com/material-components/material-components-android/issues/1316

PiperOrigin-RevId: 433570701
2022-03-09 22:14:31 +00:00
afohrman
2555c9bfc4 [Chips] [Docs] Fixed image description text.
The number of chips was mismatched with the image. Removed the number from the image description (but kept it in the a11y content description) because it's not relevant to the general reader -- but it is helpful for a11y purposes. Getting rid of the numbers makes for future easier maintenance.

PiperOrigin-RevId: 432218802
2022-03-04 13:02:38 -05:00
Material Design Team
bfb6086e24 [M3][Color] Update getters/setters naming in the HarmonizedColorsOptions
PiperOrigin-RevId: 431700407
2022-03-02 14:16:44 -08:00
Material Design Team
d24b3a96bb [M3][Color] Fix formatting and typos for resources harmonization.
PiperOrigin-RevId: 431682174
2022-03-01 09:00:28 -08:00
hunterstich
3b2b56ec5d [NavigationRail] Updated documentation to include window inset attributes.
PiperOrigin-RevId: 431462467
2022-03-01 08:55:06 -08:00
Material Design Team
a81a658791 [M3][Color] Updated Color dev doc and added new section for Apply dynamic colors using DynamicColorsOptions and Resource Harmonization.
PiperOrigin-RevId: 431448591
2022-03-01 08:54:03 -08:00
hunterstich
b25807c2b7 [Checkbox] Fixed documentation typo
Resolves https://github.com/material-components/material-components-android/issues/2580

PiperOrigin-RevId: 430473797
2022-02-23 11:21:59 -08:00
afohrman
0803a22e44 [Adaptive] [Canonical Layouts] Added hero element to small screen configurations.
The hero element was missing from compact width size screens in our single view hero canonical layout demo. This was WAI/following the mocks, but it turns out this was a "design bug" and the mocks were wrong. The demo is now updated to include the hero element as the point of focus.

Also updated the title text appearance and a whole bunch of margins that weren't to spec or could use improvement.

PiperOrigin-RevId: 429571537
2022-02-23 11:08:39 -08:00
P1NG2WIN
b01051b8bc [MaterialToolbar] Support scaleType and adjustViewBounds for logo
Resolves https://github.com/material-components/material-components-android/pull/2562

GIT_ORIGIN_REV_ID=c675c6a12e2fc242d2e9e019913df650b87eea2b
PiperOrigin-RevId: 428837808
2022-02-15 19:52:03 +00:00
conradchen
85ed9938d7 [TextField] Provide set simple items API with default item layout for MaterialAutoCompleteTextView
Resolves https://github.com/material-components/material-components-android/issues/692

PiperOrigin-RevId: 428832331
2022-02-15 19:33:49 +00:00
leticiars
1b7e92d99c [TextInputLayout] Updated documentation to clarify end icon mode's expected usage and behaviors relating to the icon's drawable.
Resolves https://github.com/material-components/material-components-android/issues/2528

PiperOrigin-RevId: 427506995
2022-02-11 15:41:02 +00:00
pfthomas
7d46b95e9e [TextInputLayout] Add support for minEms and maxEms
Resolves https://github.com/material-components/material-components-android/issues/2269

PiperOrigin-RevId: 423118234
2022-01-24 14:48:13 -05:00
dsn5ft
4eebf2d746 Automated g4 rollback of changelist 406145566
PiperOrigin-RevId: 422929299
2022-01-19 19:33:02 -05:00
dsn5ft
e98cee55d3 [Docs] Update library version in Getting Started doc to 1.5.0
PiperOrigin-RevId: 421581739
2022-01-13 12:23:00 -05:00
dsn5ft
ad97f015ce [Gradle] Replace all jcenter with mavenCentral
https://blog.gradle.org/jcenter-shutdown

PiperOrigin-RevId: 421331758
2022-01-12 13:18:36 -05:00
dsn5ft
8f4837e059 [MaterialCheckBox] Horizontally center the checkbox button drawable if there is no text
PiperOrigin-RevId: 421304994
2022-01-12 11:30:33 -05:00
leticiars
9416b2c7d6 [Divider] Added attribute in MaterialDividerItemDecoration to remove item decoration from last recycler view item.
PiperOrigin-RevId: 416890397
2021-12-20 15:57:15 -05:00
Dan Nizri
b7c7d18834
Revert "[Material Toolbar] Change logo scaleType and set logo adjustViewBounds" 2021-12-01 18:41:20 -05:00
Jose Figueroa
71a110fe89
Merge pull request #2406 from P1NG2WIN/master
[Material Toolbar] Change logo scaleType and set logo adjustViewBounds
2021-12-01 16:47:25 -05:00
Gabriele Mariotti
250d56de4b [MaterialCardView] Added option to set the checkedIcon gravity
Resolves https://github.com/material-components/material-components-android/pull/1679

GIT_ORIGIN_REV_ID=a35c862071d83ced72c4d7257f2b7bc93101bfbb
PiperOrigin-RevId: 407662373
2021-11-10 15:35:03 -05:00
leticiars
a369449809 [Documentation] Added note about screen readers skipping decorative text field elements.
PiperOrigin-RevId: 407423892
2021-11-04 10:56:06 -04:00
dsn5ft
05a74bd605 [M3][Docs] Add migration codelab and M2 -> M3 theme mapping to Getting Started doc
PiperOrigin-RevId: 407093241
2021-11-04 10:51:09 -04:00
leticiars
3b6c804f67 [Documentation] Removed broken links from divider doc.
PiperOrigin-RevId: 406145566
2021-10-28 18:51:45 +00:00
pekingme
735b88e554 [Docs] Reformatted color.md.
PiperOrigin-RevId: 405973040
2021-10-28 18:48:53 +00:00
dsn5ft
255cc1773c [M3][Docs] Update Getting Started doc to link to Material Theme Builder
PiperOrigin-RevId: 405904883
2021-10-27 18:56:30 +00:00
leticiars
2b441e6bf0 [Documentation] Small typo fix in checkbox doc
Resolves https://github.com/material-components/material-components-android/issues/2440

PiperOrigin-RevId: 405727012
2021-10-27 18:55:34 +00:00
Material Design Team
d247b5bad0 [M3][Docs] Update for FAB developer documentation
PiperOrigin-RevId: 404631575
2021-10-21 18:53:44 +00:00
Material Design Team
f14c86d191 [M3][Docs] Update Button developer documentation
PiperOrigin-RevId: 404574263
2021-10-20 19:20:03 +00:00
leticiars
3668ca7e54 [Catalog][Adaptive] Simplified getting the fold position for the Adaptive demos. Included considering whether there's a hinge for some cases.
PiperOrigin-RevId: 404027612
2021-10-18 15:33:17 -04:00
dsn5ft
9954963192 [M3][Docs] Fix container transform links in Motion dev doc
PiperOrigin-RevId: 403408023
2021-10-15 10:37:05 -07:00
P1NG2WIN
18d95124c7
Merge branch 'master' into master 2021-10-14 14:28:26 +02:00
P1NG2WIN
3ac518dcd5 fix 2021-10-14 14:25:56 +02:00
Material Design Team
905520e447 [M3][Docs] Update title case to sentence case in developer documentation
PiperOrigin-RevId: 402908727
2021-10-13 16:41:25 -04:00
conradchen
841fe974f0 [M3][TimePicker] Unify the theme/style names of time pickers
Renames all Material3.TimePicker.* to Material3.MaterialTimePicker.*.

PiperOrigin-RevId: 402844038
2021-10-13 16:39:56 -04:00
dsn5ft
84e60c9a38 [M3][Docs] Minor punctuation and formatting fixes
PiperOrigin-RevId: 402825475
2021-10-13 10:26:51 -04:00
dsn5ft
e4f70b6d7e [M3][Docs] Update Getting Started doc link to DSL -> MDC migration guide
PiperOrigin-RevId: 402614362
2021-10-12 14:34:33 -04:00
dsn5ft
a5f6d10416 [M3][Docs] Update Motion dev doc assets
PiperOrigin-RevId: 402568458
2021-10-12 11:44:15 -04:00
Riccardo Ciovati
1b8fb30370 [CollapsingToolbarLayout] Allow customizing the title position interpolator
Resolves https://github.com/material-components/material-components-android/pull/1757

GIT_ORIGIN_REV_ID=87dea3a74d8a8f460cc9beb32bcb783f71ee6e63
PiperOrigin-RevId: 401826042
2021-10-11 10:59:08 -04:00
leticiars
11c59d6c4d [Documentation][Adaptive] Small doc fixes.
PiperOrigin-RevId: 401538129
2021-10-07 13:36:32 -04:00
leticiars
844248c6c1 [Documentation][Adaptive] Small fixes.
PiperOrigin-RevId: 401306965
2021-10-06 15:12:06 -04:00
leticiars
adb1ef5f42 [Documentation] Fix links in CanonicalLayouts.md
PiperOrigin-RevId: 401304121
2021-10-06 15:01:40 -04:00
leticiars
f664923c50 [Documentation][Adaptive] Updated Canonical Layouts doc.
PiperOrigin-RevId: 401301020
2021-10-06 14:58:03 -04:00
dsn5ft
2e5957e2e1 [Docs] Update library version in Getting Started doc to 1.5.0-alpha04
PiperOrigin-RevId: 401011928
2021-10-05 13:17:01 -04:00
dsn5ft
a01323072c [Docs] Fixed formatting of multiline tables in dev docs
PiperOrigin-RevId: 400731284
2021-10-05 08:57:06 -04:00
Patrick Steiger
bf3a87e7af [ProgressIndicator] Fix typo in ProgressIndicator.md
Resolves https://github.com/material-components/material-components-android/pull/2399

GIT_ORIGIN_REV_ID=f84bfc104fa443dd122d434cf87cdbda79bdfe97
PiperOrigin-RevId: 400726331
2021-10-05 08:52:36 -04:00
conradchen
615954d357 [Doc] Fix dev doc format
PiperOrigin-RevId: 399938585
2021-10-01 15:55:44 +00:00
Material Design Team
fba7e79f21 [M3][Color] Reformat ColorRoles and Custom Color's table
PiperOrigin-RevId: 399928913
2021-10-01 15:53:25 +00:00
Material Design Team
7879b27885 [M3][Docs] Update Divider developer documentation
PiperOrigin-RevId: 399758259
2021-10-01 15:51:15 +00:00