Skip to content

Commit 2f3d4f9

Browse files
Material Design Teamimhappi
authored andcommitted
[Docs] Updated the nomenclature of images and removed unused images.
PiperOrigin-RevId: 791194140
1 parent 1983804 commit 2f3d4f9

File tree

105 files changed

+89
-89
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+89
-89
lines changed

docs/components/BadgeDrawable.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ path: /catalog/badging/
1313
counts, or status information on navigation items and icons. There are two
1414
variants of badges.
1515

16-
<img src="assets/badge/small_badge_hero.png" alt="Small badge" height="250"/> | <img src="assets/badge/large_badge_hero.png" alt="Large badge" height="250"/>
16+
<img src="assets/badge/small-badge-hero.png" alt="Small badge" height="250"/> | <img src="assets/badge/large-badge-hero.png" alt="Large badge" height="250"/>
1717
----------------------------------------------------------------------------- | -----------------------------------------------------------------------------
1818
1 | 2
1919

@@ -29,7 +29,7 @@ variants of badges.
2929

3030
## Anatomy
3131

32-
<img src="assets/badge/badges_anatomy.png" alt="Small and large badges anatomy" width="800"/>
32+
<img src="assets/badge/badges-anatomy.png" alt="Small and large badges anatomy" width="800"/>
3333

3434
1. Small badge
3535
2. Large badge container
@@ -79,7 +79,7 @@ requests in a [`BottomNavigationView`](BottomNavigation.md) or
7979

8080
### Adding badges
8181

82-
![Two variants of badges](assets/badge/badges_hero.png)
82+
![Two variants of badges](assets/badge/badges-hero.png)
8383

8484
1. Small badge on a navigation item
8585
2. Large badge on a navigation item

docs/components/BottomAppBar.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ page.
135135
The following example shows a bottom app bar with a navigation icon, 3 action
136136
icons, and an embedded FAB.
137137

138-
<img src="assets/bottomappbar/bottomappbar_basic.png" alt="Purple bottom app bar with grey icons and purple inset floating action button." width="650"/>
138+
<img src="assets/bottomappbar/bottomappbar-basic.png" alt="Purple bottom app bar with grey icons and purple inset floating action button." width="650"/>
139139

140140
**In the layout:**
141141

@@ -349,7 +349,7 @@ API and source code:
349349

350350
The following example shows a bottom app bar with Material theming.
351351

352-
<img src="assets/bottomappbar/bottomappbar_theming.png" alt="Pink bottom app bar with pink diamond inset FAB and brown icons." width="600"/>
352+
<img src="assets/bottomappbar/bottomappbar-theming.png" alt="Pink bottom app bar with pink diamond inset FAB and brown icons." width="600"/>
353353

354354
##### Implementing bottom app bar theming
355355

docs/components/Card.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ path: /catalog/cards/
1212
[Cards](https://m3.material.io/components/cards/overview) contain content and
1313
actions about a single subject. There are three variants of cards.
1414

15-
<img src="assets/cards/cards_types.png" alt="Three types of cards." height ="300">
15+
<img src="assets/cards/cards-types.png" alt="Three types of cards." height ="300">
1616

1717
1. Elevated card
1818
2. Filled card
@@ -27,7 +27,7 @@ actions about a single subject. There are three variants of cards.
2727

2828
## Anatomy
2929

30-
<img src="assets/cards/card_anatomy.png" alt="A card with labeled sections for container, headline, subhead, supporting text, image, and buttons" height ="500"/>
30+
<img src="assets/cards/card-anatomy.png" alt="A card with labeled sections for container, headline, subhead, supporting text, image, and buttons" height ="500"/>
3131

3232
1. Container
3333
2. Headline
@@ -119,7 +119,7 @@ elevation of `2dp`.
119119

120120
The following example shows an elevated card.
121121

122-
<img src="assets/cards/cards_elevated.png" alt="Elevated card with content, a title, a secondary title, text, and two action buttons in purple" height ="500"/>
122+
<img src="assets/cards/cards-elevated.png" alt="Elevated card with content, a title, a secondary title, text, and two action buttons in purple" height ="500"/>
123123

124124
In the layout:
125125

@@ -143,7 +143,7 @@ emphasis than elevated or outlined cards.
143143

144144
The following example shows a filled card.
145145

146-
<img src="assets/cards/cards_filled.png" alt="Filled card with content, a title, supporting text, and buttons in purple" height ="500"/>
146+
<img src="assets/cards/cards-filled.png" alt="Filled card with content, a title, supporting text, and buttons in purple" height ="500"/>
147147

148148
In the layout:
149149

@@ -167,7 +167,7 @@ greater emphasis than the other types.
167167

168168
The following example shows an outlined card.
169169

170-
<img src="assets/cards/cards_outlined.png" alt="Outlined card with photo, a title, a secondary title, text, and Action 1 and
170+
<img src="assets/cards/cards-outlined.png" alt="Outlined card with photo, a title, a secondary title, text, and Action 1 and
171171
Action 2 buttons in purple" height ="500"/>
172172

173173
```xml
@@ -268,7 +268,7 @@ shown in the [Card theming example](#card-example) section.
268268

269269
### Making cards checkable
270270

271-
<img src="assets/cards/cards_checked.png" alt="Outlined card with a checked button and a light purple overlay; secondary
271+
<img src="assets/cards/cards-checked.png" alt="Outlined card with a checked button and a light purple overlay; secondary
272272
title and Action 1 and Action 2 buttons" width="500"/>
273273

274274
When a card is checked, it will show a checked icon and change its foreground
@@ -300,7 +300,7 @@ card.setOnLongClickListener {
300300

301301
### Making cards draggable
302302

303-
<img src="assets/cards/cards_dragged.png" alt="Outlined card with a light grey overlay; secondary title and Action 1 and
303+
<img src="assets/cards/cards-dragged.png" alt="Outlined card with a light grey overlay; secondary title and Action 1 and
304304
Action 2 buttons, being dragged" width="500"/>
305305

306306
Cards have an `app:state_dragged` with foreground and elevation changes to
@@ -447,7 +447,7 @@ Material components theme. If not, set the style to
447447

448448
The following example shows a card with Material theming.
449449

450-
<img src="assets/cards/cards_theming.png" alt="Card with Shrine theme with photo, title, secondary title, text and Action 1 and Action 2 buttons in black." height ="500"/>
450+
<img src="assets/cards/cards-theming.png" alt="Card with Shrine theme with photo, title, secondary title, text and Action 1 and Action 2 buttons in black." height ="500"/>
451451

452452
##### Implementing card theming
453453

docs/components/Carousel.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ There are four [carousel layouts](#layouts-of-carousel):
4242
<summary>The multi-browse layout shows at least one large, medium, and small
4343
carousel item.</summary>
4444

45-
![Anatomy of Multi-browse carousel](assets/carousel/multibrowse_anatomy.png)
45+
![Anatomy of Multi-browse carousel](assets/carousel/multibrowse-anatomy.png)
4646

4747
1. Container
4848
2. Large carousel item
@@ -58,7 +58,7 @@ carousel item.</summary>
5858
<summary>The uncontained layout shows items that scroll to the edge of the
5959
container.</summary>
6060

61-
![Anatomy of uncontained carousel](assets/carousel/uncontained_anatomy.png)
61+
![Anatomy of uncontained carousel](assets/carousel/uncontained-anatomy.png)
6262

6363
1. Container
6464
2. Large carousel item
@@ -74,7 +74,7 @@ container.</summary>
7474
<summary>The hero layout shows at least one large item and one small
7575
item.</summary>
7676

77-
![Anatomy of hero carousel](assets/carousel/hero_anatomy.png)
77+
![Anatomy of hero carousel](assets/carousel/hero-anatomy.png)
7878

7979
1. Container
8080
2. Large carousel item
@@ -88,7 +88,7 @@ item.</summary>
8888
<summary>The center-aligned hero layout shows at least one large item and two
8989
small items.</summary>
9090

91-
![Anatomy of center-aligned hero carousel](assets/carousel/centeralignedhero_anatomy.png)
91+
![Anatomy of center-aligned hero carousel](assets/carousel/centeralignedhero-anatomy.png)
9292

9393
1. Container
9494
2. Large carousel item
@@ -102,7 +102,7 @@ small items.</summary>
102102

103103
<summary>The full-screen layout shows one edge-to-edge large item.</summary>
104104

105-
<img src="assets/carousel/fullscreen_anatomy.png" alt="Anatomy of full-screen carousel" height="650"/>
105+
<img src="assets/carousel/fullscreen-anatomy.png" alt="Anatomy of full-screen carousel" height="650"/>
106106

107107
1. Container
108108
2. Large carousel item

docs/components/Dialog.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ path: /catalog/dialogs/
1313
a task and can contain critical information, require decisions, or involve
1414
multiple tasks. There are two variants of dialogs.
1515

16-
<img src="assets/dialogs/dialogs_types_hero.png" alt="Examples of the two types of dialogs." height="400"/>
16+
<img src="assets/dialogs/dialogs-types-hero.png" alt="Examples of the two types of dialogs." height="400"/>
1717

1818
1. Basic dialog
1919
2. Full-screen dialog
@@ -29,7 +29,7 @@ multiple tasks. There are two variants of dialogs.
2929

3030
#### Basic dialogs
3131

32-
<img src="assets/dialogs/basic_dialogs_anatomy.png" alt="anatomy" height="500"/>
32+
<img src="assets/dialogs/basic-dialogs-anatomy.png" alt="anatomy" height="500"/>
3333

3434
1. Container
3535
2. Icon (optional)
@@ -41,7 +41,7 @@ multiple tasks. There are two variants of dialogs.
4141

4242
#### Full-screen dialogs
4343

44-
<img src="assets/dialogs/full-screen_dialogs_anatomy.png" alt="Anatomy" height="350"/>
44+
<img src="assets/dialogs/full-screen-dialogs-anatomy.png" alt="Anatomy" height="350"/>
4545

4646
1. Container
4747
2. Header
@@ -150,7 +150,7 @@ confirmation.
150150

151151
The following example shows a basic dialog.
152152

153-
<img src="assets/dialogs/dialogs_basic.png" alt="Dialog with title, and text and purple buttons to cancel, decline or accept" height="300"/>
153+
<img src="assets/dialogs/dialogs-basic.png" alt="Dialog with title, and text and purple buttons to cancel, decline or accept" height="300"/>
154154

155155
In code:
156156

@@ -232,7 +232,7 @@ API and source code:
232232

233233
The following example shows a dialog with Material theming.
234234

235-
<img src="assets/dialogs/dialogs_theming.png" alt="Dialog with title and text buttons in brown and selected radio button in pink" height="300"/>
235+
<img src="assets/dialogs/dialogs-theming.png" alt="Dialog with title and text buttons in brown and selected radio button in pink" height="300"/>
236236

237237
##### Implementing dialog theming
238238

docs/components/DockedFloatingToolbars.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ path: /catalog/docked-and-floating-toolbars/
1212
Docked & floating toolbars display frequently used actions relevant to the
1313
current page.
1414

15-
![Docked & floating toolbars](assets/dockedandfloatingtoolbars/docked_and_floating_toolbar_types.png)
15+
![Docked & floating toolbars](assets/dockedandfloatingtoolbars/docked-and-floating-toolbar-types.png)
1616

1717
1. [Docked toolbar](DockedToolbar.md): Spans the full width of the window. It’s
1818
best used for global actions that remain the same across multiple pages.
@@ -28,7 +28,7 @@ current page.
2828

2929
## Anatomy
3030

31-
![Docked & floating toolbars anatomy diagram](assets/dockedandfloatingtoolbars/docked_and_floating_toolbar_anatomy.png)
31+
![Docked & floating toolbars anatomy diagram](assets/dockedandfloatingtoolbars/docked-and-floating-toolbar-anatomy.png)
3232

3333
1. Container
3434
2. Elements
@@ -41,7 +41,7 @@ More details on anatomy items in the
4141
Before you can use `Material3Expressive` component styles, follow the
4242
[`Material3Expressive themes` setup instructions](https://github.com/material-components/material-components-android/tree/master/docs/getting-started.md#material3expressive-themes).
4343

44-
<img src="assets/dockedtoolbar/floating_and_docked_toolbar_expressive.png" alt="The floating and docked toolbar" width="700">
44+
<img src="assets/dockedandfloatingtoolbars/floating-and-docked-toolbar-expressive.png" alt="The floating and docked toolbar" width="700">
4545

4646
1. Floating, vibrant color scheme and paired with FAB
4747
2. Docked with embedded primary action instead of FAB

docs/components/FloatingActionButtonMenu.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ A
1414
opens from a FAB to show 2–6 related actions floating on screen. There is one
1515
FAB menu size for all sizes of FABs.
1616

17-
![FAB menu one type.](assets/fabmenu/fabmenu_type.png)
17+
![FAB menu one type.](assets/fabmenu/fabmenu-type.png)
1818

1919
Fab menu is not used with extended FABs and it is available in primary,
2020
secondary, and tertiary color sets.
2121

22-
![A FAB menu on a screen.](assets/fabmenu/fabmenu_hero.png)
22+
![A FAB menu on a screen.](assets/fabmenu/fabmenu-hero.png)
2323

2424
Use the FAB menu to show multiple related actions in a prominent, expressive
2525
style. It should always appear in the same place as the FAB that opened it.
@@ -31,7 +31,7 @@ style. It should always appear in the same place as the FAB that opened it.
3131

3232
## Anatomy
3333

34-
![FAB menu anatomy diagram](assets/fabmenu/fabmenu_anatomy.png)
34+
![FAB menu anatomy diagram](assets/fabmenu/fabmenu-anatomy.png)
3535

3636
1. Close button
3737
2. Menu item
@@ -45,7 +45,7 @@ The FAB menu adds more options to the FAB. It should replace the speed dial and
4545
any usage of stacked small FABs.
4646
[More on M3 Expressive](https://m3.material.io/blog/building-with-m3-expressive)
4747

48-
<img src="assets/fabmenu/fabmenu_expressive.png" alt="All size FAB menu expressive" width="700"/>
48+
<img src="assets/fabmenu/fabmenu-expressive.png" alt="All size FAB menu expressive" width="700"/>
4949
The FAB menu uses contrasting color and large items to focus attention. It can
5050
open from any size FAB.
5151

docs/components/List.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ path: /catalog/lists/
1212
[Lists](https://m3.material.io/components/lists) are continuous, vertical
1313
indexes of text or images.
1414

15-
![Different types of list items](assets/lists/list_hero.png) List items can have
15+
![Different types of list items](assets/lists/list-hero.png) List items can have
1616
supporting text and values
1717

1818
**Note:** Images use various dynamic color schemes.
@@ -24,7 +24,7 @@ supporting text and values
2424

2525
## Anatomy
2626

27-
![Anatomy of a list](assets/lists/lists_anatomy.png)
27+
![Anatomy of a list](assets/lists/lists-anatomy.png)
2828

2929
1. Leading video thumbnail (optional)
3030
2. Container
@@ -44,7 +44,7 @@ More details on anatomy items in the
4444

4545
List items come in three sizes:
4646

47-
![Three sizes of list items](assets/lists/lists_sizes.png)
47+
![Three sizes of list items](assets/lists/lists-sizes.png)
4848

4949
1. **One-line list** items contain a maximum of one line of text.
5050
2. **Two-line list** items contain a maximum of two lines of text.
@@ -63,7 +63,7 @@ Components for Android library. For more information, go to the
6363
[Getting started](https://github.com/material-components/material-components-android/tree/master/docs/getting-started.md)
6464
page.
6565

66-
![Example of a list](assets/lists/lists_hero.png)
66+
![Example of a list](assets/lists/lists-hero.png)
6767

6868
* Use lists to help users find a specific item and act on it
6969
* Order list items in logical ways (like alphabetical or numerical)

docs/components/LoadingIndicator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ A loading indicator can be added to a layout:
114114
android:layout_height="wrap_content"/>
115115
```
116116

117-
![Animation of uncontained loading indicator](assets/loadingindicator/loading_indicator.gif)
117+
![Animation of uncontained loading indicator](assets/loadingindicator/loading-indicator.gif)
118118

119119
```xml
120120
<!-- Loading indicator with a container -->
@@ -124,7 +124,7 @@ A loading indicator can be added to a layout:
124124
android:layout_height="wrap_content"/>
125125
```
126126

127-
![Animation of contained loading indicator](assets/loadingindicator/loading_indicator_contained.gif)
127+
![Animation of contained loading indicator](assets/loadingindicator/loading-indicator-contained.gif)
128128

129129
### Making loading indicators accessible
130130

docs/components/SideSheet.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ path: /catalog/side-sheet-behavior/
1313
surfaces containing supplementary content that are anchored to the side of the
1414
screen. There are two variants of side sheets.
1515

16-
<img src="assets/sidesheet/sidesheet_hero.png" alt="Side sheet hero image" width="650"/>
16+
<img src="assets/sidesheet/sidesheet-hero.png" alt="Side sheet hero image" width="650"/>
1717

1818
1. Standard side sheet
1919
2. Modal side sheet
@@ -29,7 +29,7 @@ screen. There are two variants of side sheets.
2929

3030
#### Standard side sheet
3131

32-
<img src="assets/sidesheet/standard_sidesheet_anatomy.png" alt="standard side sheet anatomy" height="500"/>
32+
<img src="assets/sidesheet/standard-sidesheet-anatomy.png" alt="standard side sheet anatomy" height="500"/>
3333

3434
1. Divider (optional)
3535
2. Headline
@@ -38,7 +38,7 @@ screen. There are two variants of side sheets.
3838

3939
#### Modal side sheet
4040

41-
<img src="assets/sidesheet/modal_sidesheet_anatomy.png" alt="modal side sheet anatomy" height="500"/>
41+
<img src="assets/sidesheet/modal-sidesheet-anatomy.png" alt="modal side sheet anatomy" height="500"/>
4242

4343
1. Back icon button (optional)
4444
2. Header

0 commit comments

Comments
 (0)