455 Commits

Author SHA1 Message Date
leticiars
254abc58b8 [RadioButton] Refactored button tint color resource and updated docs
PiperOrigin-RevId: 453664804
2022-06-09 13:41:56 -07:00
leticiars
8dd9c7e30c [Checkbox] Added support for error state.
PiperOrigin-RevId: 453496914
2022-06-07 18:52:10 -07:00
conradchen
57a3c989ff [Doc] Add an example to demonstrate how to make bottom sheet dialog edge-to-edge
PiperOrigin-RevId: 453451473
2022-06-07 18:50:24 -07:00
dsn5ft
ef2c2fad36 [Docs] Update Snackbar doc regarding CoordinatorLayout
PiperOrigin-RevId: 453180113
2022-06-06 14:12:18 -07:00
pekingme
25482b1425 [FAB] Migrated "regular/default" sized styles to new shape system.
PiperOrigin-RevId: 452817382
2022-06-03 15:49:33 -07:00
pekingme
acc75697ea [FAB] Added "Small" styles with new shape system.
PiperOrigin-RevId: 450003295
2022-05-23 11:13:49 -04:00
raajkumars
467a2c9f73 [Button] Updated M3 button style to add outlined icon button style. Updated catalog to showcase the same.
PiperOrigin-RevId: 448118229
2022-05-12 17:17:21 -04:00
pekingme
cfeb31a3f2 [Shape][NavView] Migrate M3 NavigationView style to new shape system.
PiperOrigin-RevId: 448042553
2022-05-11 15:01:26 -04:00
raajkumars
14578ed68c [Button] Updated M3 button style to add filled tonal icon button style. Updated catalog to showcase the same.
PiperOrigin-RevId: 447784383
2022-05-10 15:05:30 -04:00
leticiars
6206ff5a1f [ExposedDropdownMenu] Added support for default/ripple background colors for the selected item of the exposed dropdown menu when the default MaterialAutoCompleteArrayAdapter is being used.
PiperOrigin-RevId: 447531152
2022-05-09 17:35:43 -04:00
raajkumars
25606cf34a [Button] Updated M3 button style to add filled icon button style. Updated catalog to showcase the same.
PiperOrigin-RevId: 447523530
2022-05-09 15:00:34 -04:00
raajkumars
402bdf4bbe [Button] Added materialIconButtonStyle attribute and updated M3 doc to document icon (only) button style and attribute.
PiperOrigin-RevId: 446487810
2022-05-04 18:27:31 -04:00
dsn5ft
2ccd1551bd [Docs] Fixed typo in date picker dev doc
Resolves https://github.com/material-components/material-components-android/pull/2674

PiperOrigin-RevId: 445929606
2022-05-02 11:43:23 -04:00
Venugopal Rao Gubbala
7b043c3b68 [CollapsingToolbarLayout] Allow application to Set ellipsis to Title in CollapsingToolBar
Resolves https://github.com/material-components/material-components-android/pull/2636

GIT_ORIGIN_REV_ID=f6c2b07c1eb936ed2de47b7586688a5f6b322e48
PiperOrigin-RevId: 445200467
2022-04-28 16:26:58 -04:00
leticiars
13e27a828c [Documentation] Small fix on divider doc.
PiperOrigin-RevId: 445165115
2022-04-28 12:39:28 -04:00
dsn5ft
a71781355e [Snackbar] Add shape theming support and update M3 style to use new shapeAppearanceCornerExtraSmall
PiperOrigin-RevId: 444883546
2022-04-27 12:37:04 -04:00
dsn5ft
e52326060c [Docs][Top App Bar] Update doc to mention liftOnScrollTargetViewId attr
PiperOrigin-RevId: 444609436
2022-04-26 14:10:18 -04:00
dsn5ft
b8e1f97894 [Docs] Add status bar / edge-to-edge section to Top App Bar dev doc
Resolves https://github.com/material-components/material-components-android/issues/2626

PiperOrigin-RevId: 440945116
2022-04-11 15:14:56 -04:00
conradchen
d26cb4549d [Doc][Fab] Correct style name used in FAB dev doc
Resolves https://github.com/material-components/material-components-android/issues/2634

PiperOrigin-RevId: 440898934
2022-04-11 11:33:11 -04:00
leticiars
2c335b5f77 [ExposedDropdownMenu] Updated the elevation of the popup to match M3 specs. Also fixed bug where elevation wasn't being read via xml.
PiperOrigin-RevId: 440397922
2022-04-11 11:17:51 -04:00
pfthomas
b7b0aa33d8 [RadioButton] Documentation review
PiperOrigin-RevId: 437313518
2022-03-28 15:59:08 +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
hunterstich
3b2b56ec5d [NavigationRail] Updated documentation to include window inset attributes.
PiperOrigin-RevId: 431462467
2022-03-01 08:55:06 -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
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
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
leticiars
3b6c804f67 [Documentation] Removed broken links from divider doc.
PiperOrigin-RevId: 406145566
2021-10-28 18:51:45 +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
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
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
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
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
7879b27885 [M3][Docs] Update Divider developer documentation
PiperOrigin-RevId: 399758259
2021-10-01 15:51:15 +00:00
Material Design Team
2db68ee844 [M3][Docs] Update Radio button developer documentation
PiperOrigin-RevId: 399684762
2021-09-29 10:57:37 -04:00
Material Design Team
181851bffb [M3][Docs] Update Bottom Sheet developer documentation
PiperOrigin-RevId: 399555339
2021-09-29 10:00:36 -04:00