647 Commits

Author SHA1 Message Date
pfthomas
aff6a94539 [MaterialDatePicker] Update doc to include DayViewDecorator.
PiperOrigin-RevId: 471583125
2022-09-01 17:21:20 -07:00
leticiars
ae788ac481 [Documentation] Update text field doc to include information about android:textColorHighlight
Resolves https://github.com/material-components/material-components-android/issues/2808

PiperOrigin-RevId: 471240135
2022-08-31 15:55:04 -07:00
pubiqq
a52668b724 [Documentation][Shape] Update documentation
Resolves https://github.com/material-components/material-components-android/pull/2917

GIT_ORIGIN_REV_ID=b4588de155c5ece6dbe892f558b9868f0ee52da3
PiperOrigin-RevId: 468521881
2022-08-19 10:59:16 -04:00
Material Design Team
2527cc25c8 [Docs] Changing the name for the AGP compatibility variable so that the IDE points to the right documentation.
PiperOrigin-RevId: 466720315
2022-08-10 16:32:50 -04:00
leticiars
7d64767af1 [Checkbox][Documentation] Updated checkbox documentation.
PiperOrigin-RevId: 466097416
2022-08-09 18:36:33 +00:00
leticiars
8f149b10dc [Checkbox] Added indeterminate state support to the checkbox.
A MaterialCheckBox can now be checked, unchecked, or indeterminate.

Resolves https://github.com/material-components/material-components-android/issues/857

PiperOrigin-RevId: 465598224
2022-08-08 10:58:39 -04:00
rightnao
276a0a3c51 [BottomAppBar] Updating dev docs
PiperOrigin-RevId: 465149290
2022-08-04 14:48:24 -04:00
pekingme
f3952f83df [Slider] Ensured the minimum touch size of handle is 48dp
PiperOrigin-RevId: 465125601
2022-08-04 14:47:42 -04:00
hunterstich
32f41ff41a [TopAppBar] Added documentation for status bar foreground on scrolling app bars.
PiperOrigin-RevId: 464788174
2022-08-04 14:29:56 -04:00
pekingme
bc1ec5af8f [Docs] Update typography guideline to M3.
PiperOrigin-RevId: 464149276
2022-08-04 14:23:28 -04:00
conradchen
a6df2545ef [Switch] Update dev doc with the new switch design
PiperOrigin-RevId: 463922188
2022-07-28 17:46:30 -04:00
pfthomas
cbc0711ca3 [MaterialTimePicker][24H Redesign] 2-ring support for 24H clock
Resolves https://github.com/material-components/material-components-android/issues/1450

This replaces the current implementation of the 24H clock mode from 1 ring to 2 rings.
The 24H picker now also defaults to text input mode.

PiperOrigin-RevId: 463652374
2022-07-28 17:42:05 -04:00
rightnao
d845db8979 [BottomSheetBehavior] Add attribute for significant velocity threshold
resolves https://github.com/material-components/material-components-android/issues/2034

PiperOrigin-RevId: 463458591
2022-07-28 17:38:16 -04:00
rightnao
e284e57d64 [TextInputLayout] Add scale type setters/getters for start and end image buttons in the TextInputLayout
Resolves https://github.com/material-components/material-components-android/issues/2080

PiperOrigin-RevId: 463381963
2022-07-28 17:36:31 -04:00
afohrman
48656398cb [Bottom Sheet] [Docs] Corrected guidance to use modal bottom sheet default style theme attribute for standard bottom sheets and added a callout explaining that there is no default style theme attribute for standard bottom sheets.
PiperOrigin-RevId: 462465244
2022-07-22 15:24:37 +00:00
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