leticiars
8fae47a39e
[Checkbox] Updated checkbox to M3 look.
...
The checkbox is now composed of an `app:buttonCompat` button drawable (the squared
icon) and an `app:buttonIcon` icon drawable (the checkmark icon) layered on top
of it. The animation has also been updated.
PiperOrigin-RevId: 462244130
2022-07-22 15:22:30 +00:00
rightnao
633b3cecfa
[TextInputLayout] Adding set/get methods to control minimum width and height for start/end icons
...
Resolves https://github.com/material-components/material-components-android/issues/2080
PiperOrigin-RevId: 461939723
2022-07-20 21:44:40 +00:00
conradchen
e968929c08
[Switch] Update to AppCompat 1.5.0-beta01 and remove workarounds (also update compileSdkVersion/targetSdkVersion to 32)
...
PiperOrigin-RevId: 460970462
2022-07-14 18:18:56 +00:00
conradchen
ac7b761294
[BottomSheet] Create a drag handle view which support accessibility control
...
PiperOrigin-RevId: 457939228
2022-06-29 14:38:43 +00:00
hunterstich
a9752ee5cc
[Motion] Update documentation with new visual assets.
...
PiperOrigin-RevId: 457772297
2022-06-29 14:37:52 +00:00
rightnao
f2423de558
[BottomAppBar] Add attribute to remove embedded FAB elevation
...
PiperOrigin-RevId: 457084450
2022-06-27 20:08:08 +00:00
rightnao
88a73ebb8e
[BottomAppBar] Add fab end margin attribute
...
PiperOrigin-RevId: 456907281
2022-06-24 20:25:00 +00:00
rightnao
397e48f279
[BottomAppBar] Add menu alignment attribute
...
PiperOrigin-RevId: 456848323
2022-06-24 20:23:47 +00:00
rightnao
cab45dd1df
[BottomAppBar] Add new anchor mode attribute for FAB that has an embedded option
...
PiperOrigin-RevId: 455660518
2022-06-23 18:33:35 +00:00
pekingme
36e204f587
[Shape] Updated dev doc.
...
PiperOrigin-RevId: 454886847
2022-06-14 10:20:29 -07:00
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
dsn5ft
cdc781dde6
[Docs] Update Getting Started Guide with new minimum requirements for 1.7.0-alpha02+
...
See https://github.com/material-components/material-components-android/issues/2722
PiperOrigin-RevId: 452059168
2022-05-31 13:36:50 -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
pekingme
e74baff97b
[Docs] Added a note for shape theming.
...
PiperOrigin-RevId: 441840658
2022-04-14 16:39:02 -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
Material Design Team
2a7f14a212
[M3][Color] Update link for m3 Color design guidelines
...
PiperOrigin-RevId: 439259380
2022-04-05 13:42:15 -04:00
pfthomas
b7b0aa33d8
[RadioButton] Documentation review
...
PiperOrigin-RevId: 437313518
2022-03-28 15:59:08 +00:00
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