44 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
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
leticiars
8035712517 Updating list of components that support shape theming.
PiperOrigin-RevId: 285786024
2019-12-16 16:03:47 -05:00
isabellekim
5383f4d4c2 Updating error color in documentation to match reality.
PiperOrigin-RevId: 283826308
2019-12-05 14:56:56 -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
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
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
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
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
37534561f2 Add component styles that swap between primary and surface styles depending on light vs dark theme
Makes it easier for devs to implement: https://material.io/design/color/dark-theme.html#custom-application

PiperOrigin-RevId: 256208965
2019-07-03 14:11:49 -04:00
dniz
f2db1d9ac9 Add color theme attributes that swap between primary and surface colors depending on light vs dark theme
Makes it easier for devs to implement: https://material.io/design/color/dark-theme.html#custom-application

PiperOrigin-RevId: 255962470
2019-07-03 14:05:18 -04:00
dniz
5df3bebd63 Update elevation overlays to be based absolute elevation, factoring in the elevation of all parent views
Will follow-up with TabLayout absolute elevation separately

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

PiperOrigin-RevId: 255404830
2019-07-03 13:55:49 -04:00
dniz
6783f9e1cd Clean up naming of elevation overlay methods and attributes
PiperOrigin-RevId: 253283047
2019-06-18 13:34:29 -04:00
afohrman
544543d7aa Shape documentation tweaks.
PiperOrigin-RevId: 247273827
2019-05-16 12:35:44 -04:00
afohrman
c0e8dcfa3c Remove explicit MaterialCardView style from MaterialCardView example in shape theming documentation.
Widget styles are set at the theme level, so styles should not be set on widgets unless the theme's widget style should not be used.

PiperOrigin-RevId: 247240560
2019-05-16 12:34:54 -04:00
afohrman
7016a35808 Remove bidirectionality guidance from material.io docs.
PiperOrigin-RevId: 247095107
2019-05-07 17:50:48 -04:00
afohrman
8570f261e3 Change shape theming table formats.
PiperOrigin-RevId: 247083619
2019-05-07 17:32:25 -04:00
dniz
eb05c986a4 Update Dark Theme docs with information and links for Android Q Dark Theme and Material Dark Theme spec
Android Q: https://developer.android.com/preview/features/darktheme
Material Spec: https://material.io/design/color/dark-theme.html

PiperOrigin-RevId: 247082315
2019-05-07 17:31:41 -04:00
afohrman
01beb4a9d4 Add shape theming documentation.
PiperOrigin-RevId: 247059441
2019-05-07 17:28:09 -04:00
dniz
1e13013962 Update Dark theme documentation
PiperOrigin-RevId: 245964758
2019-04-30 12:53:11 -04:00
dniz
7b72c171ce Add documentation for Dark Theming and Elevation Overlays
PiperOrigin-RevId: 244658145
2019-04-22 15:36:14 -04:00
gauthams
2f5c3143f1 Update ExtendedFloatingActionButton documentation
PiperOrigin-RevId: 235619027
2019-02-26 15:18:46 -05:00
gauthams
24bb55bbf0 Fix component links on color theming page
PiperOrigin-RevId: 215420981
2018-10-02 14:57:35 -04:00
gauthams
415837b740 Update color theming documentation
PiperOrigin-RevId: 213903729
2018-09-28 16:14:39 -04:00
cketcham
3ef24ab4a8 Update docs to clarify what needs to be changed to allow for GoogleSans to be available.
PiperOrigin-RevId: 209162718
2018-08-17 17:29:13 -04:00
cketcham
8f7dc21a27 Add android:fontFamily to all text styles
This lets us support clients who can't or don't need to use AppCompatTextView. Using `android:fontFamily` will work for clients with min sdk >= 16.

PiperOrigin-RevId: 202032242
2018-07-02 09:26:47 -04:00
dniz
81c4ece8f7 Remove colorPrimaryLight, colorSecondaryLight, and colorSecondaryDark
PiperOrigin-RevId: 197093793
2018-05-22 13:56:47 -04:00
cketcham
999872fdc6 Add Downloadable Fonts to Typography docs
PiperOrigin-RevId: 196029894
2018-05-16 11:42:04 -04:00
Adrian Secord
f880fef926 Create Bidirectionality.md with metadata
PiperOrigin-RevId: 195677554
2018-05-07 13:38:19 -04:00
cketcham
a4f5cdb568 Use shared resources for BottomAppBar and BottomDrawer demos
PiperOrigin-RevId: 195463305
2018-05-07 13:37:16 -04:00
Adrian Secord
ebfeda0123
Add metadata to Bidirectionality.md 2018-05-04 19:36:10 -04:00
Adrian Secord
c8f3b75735
Create Bidirectionality.md 2018-05-04 19:09:18 -04:00
gauthams
93212a2161 Update table style
PiperOrigin-RevId: 195456359
2018-05-04 15:45:00 -04:00
afohrman
f8fddb2d96 Change references to theme name examples from "MyAppTheme" to "Theme.MyApp".
To promote good naming practices for themes.

PiperOrigin-RevId: 195306230
2018-05-03 17:03:27 -04:00
afohrman
0be120515e Update shape spec link.
PiperOrigin-RevId: 195301292
2018-05-03 16:39:22 -04:00
afohrman
84e36b5347 Add shape theming documentation.
PiperOrigin-RevId: 195299227
2018-05-03 16:15:09 -04:00
cketcham
1dd7b63bde Add documentation for typography
PiperOrigin-RevId: 195299136
2018-05-03 16:14:37 -04:00
dniz
7f66cfea6b Theming Guide that links to individual theming systems
PiperOrigin-RevId: 195284308
2018-05-03 14:37:47 -04:00
gauthams
b8ce66ae69 Add shortlinks for Material tools
PiperOrigin-RevId: 195129201
2018-05-02 15:09:20 -04:00
gauthams
4a6bbd7968 Update color scheme doc
PiperOrigin-RevId: 195121890
2018-05-02 14:23:46 -04:00
dniz
20298b6be1 Rename schemes to theming in docs
PiperOrigin-RevId: 194992899
2018-05-01 17:12:26 -04:00