32 Commits

Author SHA1 Message Date
hunterstich
71f014fa41 [Snackbar] Added optional close icon
PiperOrigin-RevId: 845256053
2025-12-17 14:23:55 +00:00
Material Design Team
cc2390f1a2 [Docs] Updated documentation with additional code/info and updated the nomenclature of images in the following docs:
1. BottomSheet
2. Checkbox
3. DatePicker
4. Divider
5. Menu
6. RadioButton
7. Snackbar
8. TimePicker

PiperOrigin-RevId: 799044653
2025-08-27 13:39:23 -07:00
Material Design Team
02822d6360 [Docs] Updated Snackbar doc to make it more user friendly
PiperOrigin-RevId: 774691371
2025-06-23 17:54:48 +00:00
pubiqq
9a39e222d8 [Docs] Fix anchors.
Resolves https://github.com/material-components/material-components-android/pull/4015

GIT_ORIGIN_REV_ID=0b4097653df971659ed1526e450bc40030f502e3
PiperOrigin-RevId: 634017580
2024-05-16 14:03:41 +00:00
rightnao
1785bbfabe [Docs] Cross-reference m.io and DAC in Github docs
PiperOrigin-RevId: 546035020
2023-07-07 17:50:11 +00:00
dsn5ft
ef2c2fad36 [Docs] Update Snackbar doc regarding CoordinatorLayout
PiperOrigin-RevId: 453180113
2022-06-06 14:12:18 -07: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
Material Design Team
bceff9f8c0 [M3][Docs] Update Snackbar developer documentation
PiperOrigin-RevId: 398061089
2021-09-23 19:20:44 +00:00
leticiars
6c84213397 [Documentation] Fixing formatting of notes.
PiperOrigin-RevId: 396590903
2021-09-16 11:38:43 -07:00
conradchen
764cd05b9d [M3][Snackbar] Update snackbar dev doc with M3 themes/styles
Also adds missed text appearance attribute.

PiperOrigin-RevId: 395951691
2021-09-15 12:45:45 -07:00
nickrout
d6761f24e3 [Documentation] A11y refresh.
PiperOrigin-RevId: 354530799
2021-01-29 09:11:15 -08:00
leticiars
77918676d1 [Documentation] Fixed tables having empty first column title.
PiperOrigin-RevId: 353095221
2021-01-21 17:21:37 -05:00
nickrout
e95aa2ba05 [Documentation] Prepared component docs for material.io update.
PiperOrigin-RevId: 345682770
2020-12-04 13:16:31 -05:00
dniz
fcf4b9f6ac [Docs] Updated link to Google Maven in Getting Started guide to be more specific
PiperOrigin-RevId: 321611185
2020-07-20 12:32:51 -07:00
nickrout
5ac487a7c0 [Documentation] Fixed broken links.
PiperOrigin-RevId: 320965013
2020-07-15 09:41:16 -07:00
leticiars
a68c7f4de4 [Documentation] Updating Snackbar documentation.
PiperOrigin-RevId: 316489699
2020-06-15 23:56:25 -07:00
dniz
8f103bc974 Fix Snackbar doc to mention that action text defaults to primary color
PiperOrigin-RevId: 309043112
2020-04-29 13:31:15 -04:00
dniz
868e80ed6f Add support for anchoring Snackbars to Views so they can be placed above
navigational elements and FABs

This commit also disables the pushing up of FABs when an anchor view is set

PiperOrigin-RevId: 214287486
2018-09-28 16:24:01 -04:00
cketcham
73d1c6f148 Update links in material component docs
PiperOrigin-RevId: 195898245
2018-05-08 20:10:49 -04:00
dniz
c806c46d08 Fix Snackbar short link to guidance
PiperOrigin-RevId: 195428846
2018-05-04 12:48:34 -04:00
Material Design Team
87b5e046c4 Replace links to Material design guidance with short links as appropriate.
PiperOrigin-RevId: 194927609
2018-05-01 17:10:56 -04:00
dniz
375eb8220b Update docs to point to new widget class locations
PiperOrigin-RevId: 193539651
2018-04-30 11:34:37 -04:00
dniz
9ca33544ac Update package name to com.google.android.material
PiperOrigin-RevId: 193236235
2018-04-30 11:24:23 -04:00
shyndman
cd308f93d1 Fixes more CoordinatorLayout.md links.
I think I got all of them this time.

PiperOrigin-RevId: 188793949
2018-03-12 19:33:31 -04:00
travisc
ab2fec6da4 Move lib/src/ to lib/java/, and lib/jvmtests/javatests/ to lib/javatests/.
Bazel is happier if Java/Java test roots are named 'java' and 'javatests', and
this will mean that once we create a BUILD file for
android/support/design/{widget,internal}/ we'll no longer need a custom package
specified in our build (which tends to cause build problems that manifest quite
weirdly). This commit doesn't attempt to refactor the build at all yet, and is
just a pure move.

PiperOrigin-RevId: 178060739
2018-01-11 10:50:18 -05:00
dcarlsson
c6fdfe669e Update headers for Android Material Components documentation to clarify page titles in relation to table of contents/index listings.
- Update page title for each piece of documentation to use the vernacular concept rather
than the class name for the component.
- Treat all instances of class names as proper nouns and mark them as code names.

PiperOrigin-RevId: 155705022
2017-05-11 12:57:38 -07:00
Material Design Team
17ded0f2e1 Update one-line component descriptions for consistency across the three MDC sites.
PiperOrigin-RevId: 155531666
2017-05-09 13:00:58 -07:00
shyndman
50cc15caa4 Adds screenshot mocks to the documentation of several components.
PiperOrigin-RevId: 155454192
2017-05-08 18:04:09 -07:00
shyndman
a14fe167cf Documentation cleanup.
I'm updating this CL as I go to fix all the issue we can find.

* Icon lists items now use correct icons, and are rearranged to be consistent.
* Removed HTML comments that were interfering with the Liquid templates.
* Added the benefits list to the docsite-index.
* Capitalized "Design" in Material Design.
* Spec links in icon list now use consistent labels.
* URLs, headings and page titles are now internally consistent within the platform.

PiperOrigin-RevId: 155445665
2017-05-08 16:48:53 -07:00
travisc
656051b856 Add documentation for snackbars.
PiperOrigin-RevId: 155253839
2017-05-05 16:45:48 -07:00
markwei
e223cd734c Make titles, paths, and headers consistent.
Follows these rules:

Title is the Component Name as it appears in spec.
Justification: Formatting and display on small width screens.

Excerpt includes the CamelCase name of the java class.
Justification: This document is not a rehash of spec, it's a specific resource for Android devs. Title and excerpt are displayed in the same context.

Header is the CamelCase name of the java class.
Justification: Similar to excerpt. This is documentation on a specific Android widget.

Path is the dash-deliminated name of the java class.
Justification: Similar to header. This is documentation on a specific Android widget.
PiperOrigin-RevId: 155134932
2017-05-05 16:41:28 -07:00
dcarlsson
f37a53e9b6 Move component documentation under docs/ root.
PiperOrigin-RevId: 153763840
2017-04-24 16:14:48 -07:00