324 Commits

Author SHA1 Message Date
raajkumars
cd9e6204d8 [Dialog] Added support for full width buttons in dialogs.
PiperOrigin-RevId: 368853063
2021-04-16 18:21:25 -04:00
Material Design Team
a200a5ef17 [NavigationRail] Moves OnNavigationItem listeners to the NavigationBarView class
to be easier used by developers and other libraries

An example of where the current implementation fails is in Jetpack Navigation component where we rely on setOnNavigationItemSelectedListener and the similar methods in NavigationBarView (setOnItemSelectedListener) are protected.

PiperOrigin-RevId: 367467206
2021-04-08 20:43:35 -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
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
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
leticiars
be5d96d70b [Documentation] Updating date picker doc.
PiperOrigin-RevId: 362035454
2021-03-10 10:04:03 -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
cketcham
28c3254d2a [BottomSheet] Allow opting out of edge to edge on the top
PiperOrigin-RevId: 359525223
2021-03-03 12:40:48 -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
raajkumars
853c695148 [Navigation Rail] Added documentation for navigation rail view component.
PiperOrigin-RevId: 358834724
2021-02-22 10:14:00 -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
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
nickrout
0fcf1857c8 [Documentation] Radio button a11y refresh.
PiperOrigin-RevId: 353853426
2021-01-26 08:57:18 -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
leticiars
77918676d1 [Documentation] Fixed tables having empty first column title.
PiperOrigin-RevId: 353095221
2021-01-21 17:21:37 -05:00
nickrout
3496f63253 [Documentation] Buttons a11y rework.
PiperOrigin-RevId: 353055449
2021-01-21 12:58:20 -08:00
nickrout
9ce3d153b7 [Documentation] Composite revamp.
PiperOrigin-RevId: 353052233
2021-01-21 12:56:20 -08:00
nickrout
32f73bbfba [Documentation] Fixed date picker typo.
PiperOrigin-RevId: 353021192
2021-01-21 12:52:37 -08:00
leticiars
13cd0febf8 [Documentation] Updated link name.
PiperOrigin-RevId: 351802572
2021-01-14 13:09:30 -05:00
leticiars
d9fa78f176 [Documentation] Fixed table in TimePicker.md
PiperOrigin-RevId: 350758688
2021-01-08 10:29:01 -05:00
NUmeroAndDev
3ef214f6f9 [Radio button] Fixed sample code in documentation
Resolves https://github.com/material-components/material-components-android/pull/1965

GIT_ORIGIN_REV_ID=e0cb63ede7a16d244232a91b82f2109bbcef73ec
PiperOrigin-RevId: 350592926
2021-01-08 10:27:21 -05:00
Material Design Team
f03556e0b5 [Documentation] Fix doc typo
PiperOrigin-RevId: 348664944
2021-01-06 13:30:28 -05:00
marianomartin
3eddfb99c8 [TimePicker] Add dev docs
PiperOrigin-RevId: 348020387
2020-12-17 12:49:00 -05:00
haodong
2a6715f464 [ProgressIndicator] Added other predefined styles in document.
PiperOrigin-RevId: 347914734
2020-12-17 11:26:31 -05:00
nickrout
00dc4c6b5a [Documentation] Updated Navigation Drawer doc.
PiperOrigin-RevId: 347660119
2020-12-15 15:06:07 -05:00
cketcham
c574e9ea23 [BottomSheet] Add flag to opt in to edge to edge behavior rather than only relying on the navigationBarColor
PiperOrigin-RevId: 347387288
2020-12-14 15:08:19 -05:00
nickrout
2eacbfd848 [Documentation] Updated FloatingActionButton alt-text for A11Y refresh.
PiperOrigin-RevId: 347379844
2020-12-14 15:07:21 -05:00
nickrout
90e3a66962 [Documentation] Updated Tabs alt-text for A11Y refresh.
PiperOrigin-RevId: 347372557
2020-12-14 15:05:03 -05:00
cketcham
b1812b9a6b Internal Change
PiperOrigin-RevId: 347042445
2020-12-11 14:47:53 -05:00
cketcham
3037cf046c Automated g4 rollback of changelist 343006492
PiperOrigin-RevId: 347038837
2020-12-11 14:45:45 -05:00
nickrout
da4642ae8d [Documentation] Updated BottomAppBar alt-text for A11Y refresh.
PiperOrigin-RevId: 346780084
2020-12-10 10:39:56 -05:00
nickrout
e95aa2ba05 [Documentation] Prepared component docs for material.io update.
PiperOrigin-RevId: 345682770
2020-12-04 13:16:31 -05:00
haodong
c6deb06397 [Documentation] Updated ProgressIndicator doc.
PiperOrigin-RevId: 345483853
2020-12-03 15:24:13 -05:00
raajkumars
aca5bfb6f7 [Bottom Navigation] Extracted common logic from bottom navigation component into navigation package.
PiperOrigin-RevId: 345029590
2020-12-02 09:55:26 -05:00
leticiars
6213498cde [Documentation] Updated Menu assets images.
Also updated instances of 'gray' to 'grey' to match material.io

PiperOrigin-RevId: 344857374
2020-12-01 09:26:38 -05:00
connieshi
c15db83873 [Chip] Fix typo.
PiperOrigin-RevId: 344823557
2020-11-30 13:44:06 -05:00
nickrout
72052f3ec9 [Documentation] Mentioned supported states for MaterialCheckBox.
PiperOrigin-RevId: 343848227
2020-11-23 13:20:13 -05:00
haodong
9d7ae04e0e [ProgressIndicator] Renamed some attributes.
PiperOrigin-RevId: 343299956
2020-11-19 12:33:42 -05:00
leticiars
6f99bc1797 [Documentation] Updated Menus doc.
PiperOrigin-RevId: 343101409
2020-11-18 15:38:15 -05:00
cketcham
b163458a3a [BottomSheet] Updates the way BottomSheet handles insets
This updates ThemeOverlay styles to prevent drawing a transparent nav bar and updates BottomSheetBehavior and BottomSheetDialog to handle insets correctly so content isn't drawn behind the status bar or navigation bar.

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

PiperOrigin-RevId: 343006492
2020-11-18 10:40:16 -05:00
isabellekim
a12519d009 [Documentation] Fix at typo.
PiperOrigin-RevId: 342333454
2020-11-14 10:14:57 -05:00
haodong
e1d979631d [ProgressIndicator] Combined attributes show/hideBehaviorLinear and show/hideBehaviorCircular.
PiperOrigin-RevId: 342086777
2020-11-14 10:07:06 -05:00
haodong
b1ef02a16b [ProgressIndicator] Cleaned up deprecated class and resources.
PiperOrigin-RevId: 342076767
2020-11-12 13:53:23 -05:00
haodong
c76665bc11 [ProgressIndicator] Deprecated LINEAR type in ProgressIndicator and ProgressIndicator.
PiperOrigin-RevId: 342069665
2020-11-12 13:49:35 -05:00
leticiars
f664c111c0 [Documentation] Updated bottomnav a11y alt text.
PiperOrigin-RevId: 341834204
2020-11-12 10:32:30 -05:00
leticiars
4ab20d7f7f [Documentation] Updated a11y alt-text for dialog and topappbar
PiperOrigin-RevId: 341404118
2020-11-09 12:02:00 -05:00
nickrout
191a48bd8a [Documentation] Updating Card doc with new a11y alt-text.
PiperOrigin-RevId: 339664183
2020-10-29 15:18:43 -04:00
haodong
b6643204a6 [ProgressIndicator] Added LinearProgressIndicator and LinearProgressIndicatorSpec.
PiperOrigin-RevId: 338738646
2020-10-27 04:35:45 -07:00