connieshi
9bae8a7d10
Increment mdcLibraryVersion to 1.4.0-alpha02
...
PiperOrigin-RevId: 366045203
1.4.0-alpha02
2021-03-31 12:02:01 -04:00
leticiars
f97560d8a8
[TextInputLayout][Large Screens] Adding setMinWidth and setMaxWidth methods on the TextInputLayout so it works as expected.
...
PiperOrigin-RevId: 366041873
2021-03-31 11:57:04 -04:00
Adrien Vitti
740a3d247b
[TextInputLayout] Fixed clear icon being displayed when the text field is not focused.
...
Resolves https://github.com/material-components/material-components-android/pull/2025
Resolves https://github.com/material-components/material-components-android/issues/2024
GIT_ORIGIN_REV_ID=19a520a8d44cbb62e307fd4dde251cd7ca97da42
PiperOrigin-RevId: 366032778
2021-03-31 10:54:43 -04:00
dniz
fed90a9e57
[Nav Rail / Bottom Nav / Nav Bar] API Fixes
...
Resolves https://github.com/material-components/material-components-android/issues/2131
PiperOrigin-RevId: 365873683
2021-03-31 10:27:45 -04:00
dniz
9c75ad07f7
[CollapsingToolbarLayout] Added support for fade out/in title collapse mode
...
PiperOrigin-RevId: 365629647
2021-03-30 14:48:19 -04:00
marianomartin
ffb2ad14ff
[MaterialButtonToggleGroup] Fixed issues with uncheck and check methods
...
This unifies the check handling logic so that calling check/uncheck is not treated differently than checking the buttons through touch input
Resolves https://github.com/material-components/material-components-android/issues/2133
PiperOrigin-RevId: 365077462
2021-03-25 14:50:26 -04:00
connieshi
948738e618
[Badge][Toolbar] Fix badge offset bug when attached and detached from a menu item on a toolbar.
...
Added switch to toggle show/hide edit menu item and added button to increment badge number.
Moved logic to add badgedrawable to onCreateOptionsMenu so that a new badgedrawable is NOT added every time onPrepareOptionsMenu is called (e.g. opening the overflow menu)
Resolves https://github.com/material-components/material-components-android/issues/2129
PiperOrigin-RevId: 365033209
2021-03-25 11:28:18 -04:00
marianomartin
ef8ad4dff4
[BottomAppBar] Support fab with rounded corners in cradle
...
PiperOrigin-RevId: 364483537
2021-03-24 10:29:38 -04:00
leticiars
81273acb26
[TextInputLayout][LargeScreens] Adding default, max and min widths for text fields to optimize for large screens.
...
PiperOrigin-RevId: 363660219
2021-03-18 12:54:05 -04:00
Anoop
64164677a9
[Material TimePicker] Added setTheme api in builder to support passing theme via builder
...
Resolves https://github.com/material-components/material-components-android/pull/2098
GIT_ORIGIN_REV_ID=688015d7a73fa28478e34da40363ac9c5730d677
PiperOrigin-RevId: 363648438
2021-03-18 12:51:22 -04:00
haodong
ca285ea349
[Docs] Updated progress indicator document to clarify a usage requirement for linear contiguous animation.
...
Resolves https://github.com/material-components/material-components-android/issues/2043
PiperOrigin-RevId: 363518334
2021-03-18 09:54:07 -04:00
dniz
06993c8812
[MathUtils] Fixed javadoc formatting issue for lerp function
...
PiperOrigin-RevId: 363418031
2021-03-18 09:51:35 -04:00
hunterstich
5d65278c82
[Motion] Updated FadeThroughProvider to allow customization of the fade through threshold.
...
PiperOrigin-RevId: 362065364
2021-03-15 15:12:41 -04:00
leticiars
be5d96d70b
[Documentation] Updating date picker doc.
...
PiperOrigin-RevId: 362035454
2021-03-10 10:04:03 -05:00
cketcham
6f220b11a7
[BottomSheet] Sets default for BottomSheetBehavior paddingTopSystemWindowInsets to true
...
This adds space where the status bar is for any bottomsheet that would have otherwise been fullscreen.
PiperOrigin-RevId: 361933708
2021-03-10 10:03:14 -05:00
raajkumars
b8ed2dac59
[Navigation Rail] Updated navigation rail documentation to update images and related example code.
...
PiperOrigin-RevId: 360730108
2021-03-09 12:09:05 -08:00
dniz
1f6ebe9e7b
[CollapsingToolbarLayout] Fixed Toolbar link errors in javadoc due to androidx vs framework Toolbar support
...
PiperOrigin-RevId: 360443545
2021-03-03 14:24:34 -05:00
Material Design Team
dca33e3952
[ProgressIndicator] Move canvas to the middle of the bounds, rather than by half the width/height.
...
PiperOrigin-RevId: 359827025
2021-03-03 14:23:54 -05:00
raajkumars
6a37a553e7
[Catalog] Updated catalog to showcase header view inside a Navigation Rail View.
...
PiperOrigin-RevId: 359796624
2021-03-03 13:22:58 -05:00
raajkumars
ae8b1858f3
[Catalog] Updated catalog to demonstrate navigation rail in compact style.
...
PiperOrigin-RevId: 359624175
2021-03-03 13:21:43 -05:00
raajkumars
4ff1440995
[Catalog] Updated Navigation Rail catalog demo to showcase a colored navigation rail with animated icons.
...
PiperOrigin-RevId: 359598831
2021-03-03 13:20:52 -05:00
raajkumars
6cd0737807
[Catalog] Updated Navigtaion Rail catalog demo to showcase label visibility mode and menu gravity.
...
PiperOrigin-RevId: 359538339
2021-03-03 13:13:38 -05:00
cketcham
28c3254d2a
[BottomSheet] Allow opting out of edge to edge on the top
...
PiperOrigin-RevId: 359525223
2021-03-03 12:40:48 -05:00
cketcham
33f5aefb35
[BottomSheet] Only add OnApplyWindowInsetsListener if edgeToEdgeEnabled is true
...
PiperOrigin-RevId: 359407836
2021-03-03 12:40:08 -05:00
dniz
cbf528e3a6
[MaterialToolbar] Added support for centering title and subtitle
...
Resolves https://github.com/material-components/material-components-android/issues/2011
PiperOrigin-RevId: 359360955
2021-03-03 12:37:29 -05:00
Jeremy Walker
a9a493ff17
[Sample] Update packaging.yaml
...
Resolves https://github.com/material-components/material-components-android/pull/2096
GIT_ORIGIN_REV_ID=e719b248a0263b4c043b2728bf14ab1ee973b0a9
PiperOrigin-RevId: 359319904
2021-02-25 09:48:43 -05:00
raajkumars
547979e121
[Catalog] Updated catalog demo to showcase navigation rail component.
...
PiperOrigin-RevId: 359086242
2021-02-25 09:46:33 -05:00
hunterstich
035380ab2e
Updated library version to 1.4.0-alpha01
...
PiperOrigin-RevId: 358866834
1.4.0-alpha01
2021-02-22 11:45:57 -08:00
raajkumars
853c695148
[Navigation Rail] Added documentation for navigation rail view component.
...
PiperOrigin-RevId: 358834724
2021-02-22 10:14:00 -08:00
isabellekim
fb96aa8592
[Catalog] Update theme switcher to have customizable radio button styling
...
PiperOrigin-RevId: 358218881
2021-02-18 14:36:19 -08:00
haodong
d6ddf00dbf
[ProgressIndicator] Internal cleanup.
...
PiperOrigin-RevId: 358217922
2021-02-18 14:35:40 -08:00
raajkumars
585e0ff0ff
[Navigation Rail] Fixed spacing issue between destination icon and label.
...
PiperOrigin-RevId: 357997380
2021-02-18 14:34:17 -08:00
hunterstich
3d4a341ffd
[Motion] Updated documentation to include motion theming
...
PiperOrigin-RevId: 357937188
2021-02-17 07:07:03 -08:00
hunterstich
edd2eb57e5
[Motion] Updated motion theming attr names.
...
PiperOrigin-RevId: 356983952
2021-02-17 06:47:56 -08:00
cketcham
2933600552
[BottomSheet] Prevent adding half expanded accessibility action if fitToContents is true
...
PiperOrigin-RevId: 356805609
2021-02-17 06:45:07 -08:00
Albert Vaca Cintora
799a78c66f
[ProgressIndicator] Fixed typo in progressindicator sample code
...
Resolves https://github.com/material-components/material-components-android/pull/2048
GIT_ORIGIN_REV_ID=efc6062d808f4afe01c06e88c49d6c8cb3172bb8
PiperOrigin-RevId: 356779678
2021-02-17 06:43:53 -08:00
raajkumars
1c872e8eb1
[Navigation Rail] Fixed issue that caused navigation rail to show label for active destination in compact mode.
...
PiperOrigin-RevId: 356724787
2021-02-17 06:42:20 -08:00
raajkumars
42a19ab725
[Navigation Rail] Fixed issue that caused destination views to be smaller than the rail width.
...
PiperOrigin-RevId: 356584209
2021-02-17 06:41:19 -08:00
dniz
25bf03ea2a
[Docs] Remove broken @link from MaterialButton Javadoc
...
PiperOrigin-RevId: 356506184
2021-02-17 06:40:30 -08:00
connieshi
da2d8264d1
[Tabs][BottomNav] Do not show tooltip on long press for L and M devices to avoid freezing devices on repeated long press.
...
PiperOrigin-RevId: 355428951
2021-02-04 20:54:30 -05:00
raajkumars
e13610e589
[Navigation Rail] Added Navigation Rail component to the library.
...
PiperOrigin-RevId: 355235369
2021-02-04 20:49:41 -05:00
isabellekim
9c2c419b2a
[Color] Update theme switcher to have customizable text for the description above the radio buttons for choosing color
...
PiperOrigin-RevId: 355223824
2021-02-02 15:55:35 -05:00
haodong
0d0c90b9ef
Updated string translations.
...
PiperOrigin-RevId: 354978993
2021-02-01 11:03:44 -08:00
nickrout
d6761f24e3
[Documentation] A11y refresh.
...
PiperOrigin-RevId: 354530799
2021-01-29 09:11:15 -08:00
nickrout
42df390412
[Documentation] A11y refresh.
...
PiperOrigin-RevId: 354311833
2021-01-28 09:07:05 -08:00
haodong
1fb57bcaa2
[ProgressIndicator] Updated "indicatorSize" in CircularProgressIndicatorSpec to be never less than twice of "trackThickness".
...
Resolves https://github.com/material-components/material-components-android/issues/2005
PiperOrigin-RevId: 353887395
2021-01-26 14:08:04 -08:00
nickrout
0fcf1857c8
[Documentation] Radio button a11y refresh.
...
PiperOrigin-RevId: 353853426
2021-01-26 08:57:18 -08:00
leticiars
6015a4e901
[TextInputLayout] Adjusted background of collapsed hint to not overlap with edit text's background.
...
Resolves https://github.com/material-components/material-components-android/pull/1660
Resolves https://github.com/material-components/material-components-android/issues/1319
PiperOrigin-RevId: 353645196
2021-01-25 09:25:00 -08:00
nickrout
66f9a92c25
[Documentation] A11y refresh.
...
PiperOrigin-RevId: 353629654
2021-01-25 09:24:01 -08:00
Brian Hoffmann
5b32b25c0c
[Documentation] Fix theme attr name to floatingActionButtonStyle
...
Resolves https://github.com/material-components/material-components-android/pull/1998
GIT_ORIGIN_REV_ID=ffb003b6b7f57097e70759acae173da0d98b8ad5
PiperOrigin-RevId: 353111357
2021-01-21 15:06:11 -08:00