267 Commits

Author SHA1 Message Date
hunterstich
edcfaca461 Update motion documentation fade through example gif.
PiperOrigin-RevId: 295146489
2020-02-14 12:11:11 -05:00
hunterstich
5db8dbdb07 Add motion documentation.
PiperOrigin-RevId: 294982367
2020-02-13 14:00:29 -08:00
leticiars
8cb5dd64e0 Renaming Buttons.md to Button.md for consistency. Leaving titles as Buttons to match material.io/components
Also adding info about AutoCompleteTextView being auto-inflated as MaterialAutoCompleteTextView

PiperOrigin-RevId: 293224503
2020-02-04 17:34:17 -05:00
Material Design Team
738e35a554 Add links to CSLs in button doc attr table
This adds links to full color state lists in the button doc attribute table.

PiperOrigin-RevId: 293024307
2020-02-04 17:31:26 -05:00
leticiars
83817a4f28 Adding missing attr information to Buttons doc
PiperOrigin-RevId: 292913740
2020-02-03 10:26:20 -05:00
leticiars
acb0870eed Fixing tables formatting in Buttons doc.
PiperOrigin-RevId: 292579184
2020-01-31 16:51:27 -05:00
leticiars
b2194a0b01 Fixing duplicate title in buttons doc.
PiperOrigin-RevId: 292549090
2020-01-31 11:26:18 -05:00
leticiars
6f6459618c [Documentation] Update and improvements of Buttons documentation.
Documentation about MaterialButton and MaterialButtonToggleGroup are now in the same doc.

PiperOrigin-RevId: 292420210
2020-01-31 11:14:11 -05:00
Pavlos-Petros Tournaris
ebb39f0fa8 Update Color.md
Resolves https://github.com/material-components/material-components-android/pull/941

GIT_ORIGIN_REV_ID=bea8db7cfefb64ab27460acb79baa797409d6879
PiperOrigin-RevId: 291734947
2020-01-27 13:07:07 -05:00
cketcham
52e88d7727 Add link to external design doc
PiperOrigin-RevId: 288340392
2020-01-06 14:43:15 -05:00
Material Design Team
6405635df4 Handle horizontal system insets for BottomAppBar.
Previously only the bottom inset (navigation bar) would add extra padding to the BottomAppBar which avoided overlapping with the bottom inset when drawing edge-to-edge. A problem arises if the device is rotated horizontally. The FAB (or sometimes the ActionMenuView in RtL layouts) would overlap with the right inset, making usage impossible.

This CL adjusts the FAB and ActionMenuView X translations when necessary to avoid the horizontal system insets. Two new stylable attributes have been added to enable/disable this behavior, analogous to the existing attribute for bottom padding.

PiperOrigin-RevId: 286419669
2019-12-19 15:45:44 -05:00
leticiars
545a4895f3 Adding simple documentation for Lists.
PiperOrigin-RevId: 285963479
2019-12-17 17:04:56 -05:00
leticiars
8035712517 Updating list of components that support shape theming.
PiperOrigin-RevId: 285786024
2019-12-16 16:03:47 -05:00
dniz
3a395b4503 Cleanup
PiperOrigin-RevId: 285076531
2019-12-12 11:44:35 -05:00
leticiars
b9c40e0639 Cleanup.
PiperOrigin-RevId: 285031511
2019-12-11 17:11:20 -05:00
leticiars
5c11ae6322 Cleanup
PiperOrigin-RevId: 285019089
2019-12-11 17:10:41 -05:00
afohrman
201ec6241c Add support for placeholder text in TextInputLayout.
This is the initial implementation of placeholder text; it does not contain motion. At this stage, TextInputLayout sets the placeholder text visibility based on whether or not it should show.

PiperOrigin-RevId: 284808331
2019-12-11 17:06:57 -05:00
isabellekim
5383f4d4c2 Updating error color in documentation to match reality.
PiperOrigin-RevId: 283826308
2019-12-05 14:56:56 -05:00
dniz
acd10e6bb2 Update CollapsingToolbarLayout doc
PiperOrigin-RevId: 283605221
2019-12-05 14:29:44 -05:00
isabellekim
78be1a9014 Update documentation on BottomNavigationView
PiperOrigin-RevId: 282618646
2019-12-02 17:30:22 -05:00
isabellekim
7e6c22f7a8 Updating Color.md to indicate that colorPrimary is used on top of colorSurface / colorBackground
PiperOrigin-RevId: 281813684
2019-11-22 21:26:35 +00:00
cketcham
67491fca21 Add paddingBottomSystemWindowInsets to public attrs and update documentation
PiperOrigin-RevId: 281120848
2019-11-19 10:28:31 -08:00
leticiars
16eafca580 Updating Typography doc.
Resolves https://github.com/material-components/material-components-android/issues/748

PiperOrigin-RevId: 279790322
2019-11-11 16:37:03 -05:00
ldjesper
4b28559fea Update Picker.md for freshness and customization options
PiperOrigin-RevId: 279090907
2019-11-07 16:08:52 -05:00
Yesid
451f6199cd [TabLayout] Updated documentation
Resolves https://github.com/material-components/material-components-android/pull/726

GIT_ORIGIN_REV_ID=54fe70015a2f3bf9ad7b41e9dfd1d5016f9ef04c
PiperOrigin-RevId: 277561393
2019-11-01 13:28:40 -07:00
leticiars
f494ed33b2 Updating documentation.
PiperOrigin-RevId: 277275402
2019-11-01 13:28:40 -07:00
leticiars
dbe9713d71 Cleanup
PiperOrigin-RevId: 277061944
2019-11-01 13:28:40 -07:00
cketcham
efbb3e667e Fix header spacing for Slider doc
PiperOrigin-RevId: 274169443
2019-10-21 10:20:05 -04:00
leticiars
739dc09e2e Updating Slider documentation.
PiperOrigin-RevId: 273960736
2019-10-10 15:53:43 -04:00
ldjesper
c593b0a4a4 Update Pull Request guidance
PiperOrigin-RevId: 272056811
2019-10-01 04:09:51 -04:00
connieshi
195647b64e Update BottomNavigationView's documentation to refer to updated badge api.
Resolves https://github.com/material-components/material-components-android/issues/642

PiperOrigin-RevId: 272041881
2019-10-01 04:09:26 -04:00
Gabriele Mariotti
11ec97a846 [MaterialCardView] Updated documentation with the reference of the Androidx CardView
Resolves https://github.com/material-components/material-components-android/pull/574

GIT_ORIGIN_REV_ID=2656d3dee0f43ffa3d210711e7c468c9e4260280
PiperOrigin-RevId: 271606323
2019-09-27 14:06:59 -04:00
leticiars
18cb4b41e8 Updating text field documentation with prefix and suffix attributes
PiperOrigin-RevId: 271135855
2019-09-26 17:56:20 -04:00
connieshi
fd8678371a Add missing line breaks.
PiperOrigin-RevId: 270038867
2019-09-20 10:58:23 -04:00
connieshi
bfeef49653 Fix broken Attributes tables in Android chip page on material.io
Resolves: https://github.com/material-components/material-components/issues/68
PiperOrigin-RevId: 269844828
2019-09-18 14:25:16 -04:00
ldjesper
72d54c653c Change picker package to com.google.android.material.datepicker
PiperOrigin-RevId: 267004501
2019-09-04 18:07:59 -04:00
Gabriele Mariotti
d6973405b0 Updated MaterialTextView's documentation with the right package name of the component.
Resolves https://github.com/material-components/material-components-android/pull/541

GIT_ORIGIN_REV_ID=c9d1e674187c3fe23b7f209cbbbc8008e348592b
PiperOrigin-RevId: 266214327
2019-08-29 16:28:05 -04:00
dniz
5c9ed14607 Add ExtendedFloatingActionButton as a related concept in FloatingActionButton doc
PiperOrigin-RevId: 265917318
2019-08-29 14:56:55 -04:00
dniz
fe259b05f4 Add absolute elevation utilities to ElevationOverlayProvider
Resolves https://github.com/material-components/material-components-android/issues/483
Resolves https://github.com/material-components/material-components-android/issues/521

PiperOrigin-RevId: 265907637
2019-08-29 14:54:25 -04:00
connieshi
a381260819 Update get started guide to refer to Android 9 instead of Android P or P Preview.
PiperOrigin-RevId: 265447535
2019-08-29 11:24:16 -04:00
Material Design Team
322cbaae8a Automated g4 rollback of changelist 264230778
PiperOrigin-RevId: 264382083
2019-08-20 11:22:09 -04:00
Sébastien ROUIF
ade261dff0 [Documentation] Fix component override documentation
Resolves https://github.com/material-components/material-components-android/pull/393

GIT_ORIGIN_REV_ID=f8d03ad3acfc3bf77fa54b1a0b4367e8a90f9928
PiperOrigin-RevId: 264373259
2019-08-20 11:20:20 -04:00
afohrman
04955f6421 Add placeholder text functionality to TextInputLayout.
This is the initial implementation of placeholder text; it does not contain motion. At this stage, TextInputLayout sets the placeholder text visibility based on whether or not it should show.

PiperOrigin-RevId: 264230778
2019-08-20 11:19:02 -04:00
leticiars
631c320dea Adding error icon documentation.
PiperOrigin-RevId: 261348566
2019-08-02 15:58:54 -04:00
connieshi
e1248f8771 Update BadgeDrawable's documentation to include information about badge's gravity mode.
PiperOrigin-RevId: 259775790
2019-07-24 15:11:50 -04:00
dniz
b8e36648d4 Add BadgeDrawable Javadoc link to component doc
PiperOrigin-RevId: 259539388
2019-07-23 11:24:27 -04:00
dniz
e46ce4fa6c Update Shape theming docs to use Javadoc links instead of GitHub source links
PiperOrigin-RevId: 258368759
2019-07-16 13:06:49 -04:00
dniz
499e11d0e9 Fix paths to MaterialTextView and SwitchMaterial in docs
PiperOrigin-RevId: 258258433
2019-07-15 19:25:29 -04:00
dniz
8ebf760eee Remove path from ViewDragHelper in docs
PiperOrigin-RevId: 258248066
2019-07-15 19:24:09 -04:00
dniz
eefc276e5d Remove specific version from Getting Started docs
Resolves https://github.com/material-components/material-components-android/pull/439

PiperOrigin-RevId: 258202908
2019-07-15 19:23:07 -04:00