12 Commits

Author SHA1 Message Date
dniz
3f6ba81d6e Remove library references to widget package
PiperOrigin-RevId: 191302154
2018-04-03 12:07:57 -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
shyndman
01f8349ad1 Changes a number of links to be relative.
PiperOrigin-RevId: 155675090
2017-05-10 14:26:50 -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
markwei
67bb191837 Documentation cleanup.
PiperOrigin-RevId: 155238727
2017-05-05 16:43:39 -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
miguely
3c426b74dc Fix naming for Bottom Sheet descriptions so they don't overflow on small viewports.
In order to solve overflow I have renamed the pages for BottomSheetBehavior and BottomSheetDialogFragment to "Bottom Sheets" and "Modal Bottom Sheets", reflecting their name in the spec (and usage) rather than the Android class name. This is consistent with how most other components's pages are named.

Furthermore I switched the excerpts to describe their use in the spec, and made that the first sentence in the intro for consistency.

PiperOrigin-RevId: 154995463
2017-05-05 16:37:50 -07:00
miguely
a63c3e3f8c Add documentation for the BottomSheetBehavior and BottomSheetDialogFragment.
PiperOrigin-RevId: 154322086
2017-04-26 12:57:01 -07:00