mirror of
https://github.com/material-components/material-components-android.git
synced 2026-02-20 08:39:55 +08:00
41 lines
1007 B
Markdown
41 lines
1007 B
Markdown
<!--docs:
|
|
title: "List"
|
|
layout: detail
|
|
section: components
|
|
excerpt: "Lists are continuous, vertical indexes of text or images."
|
|
iconId: list
|
|
path: /catalog/lists/
|
|
-->
|
|
|
|
# List
|
|
|
|
Lists are continuous, vertical indexes of text or images.
|
|
|
|
**Design**
|
|
|
|
[Material Design guidelines: Lists](https://material.io/go/design-lists)
|
|
|
|
**Single-line list**
|
|
|
|
Single-line list items contain a maximum of one line of text.
|
|
|
|
**Two-line list**
|
|
|
|
Two-line list items contain a maximum of two lines of text.
|
|
|
|
**Three-line list**
|
|
|
|
Three-line list items contains a maximum of three lines of text.
|
|
|
|
## Demo
|
|
|
|
Lists are under development. You can see the current version of the
|
|
[Lists Demo](https://github.com/material-components/material-components-android/tree/master/catalog/java/io/material/catalog/lists/)
|
|
in the Material Android Catalog.
|
|
|
|
## Code
|
|
|
|
The
|
|
[Lists Package](https://github.com/material-components/material-components-android/tree/master/lib/java/com/google/android/material/lists)
|
|
contains the code for this component.
|