Skip to content

Commit 3d43f71

Browse files
Material Design Teamdsn5ft
authored andcommitted
[Progress Indicators] Resolved video rendering issue on GitHub by replacing mp4 files with gif files and using the markdown syntax.
PiperOrigin-RevId: 784014231
1 parent 1cbf701 commit 3d43f71

File tree

5 files changed

+18
-14
lines changed

5 files changed

+18
-14
lines changed

docs/components/ProgressIndicator.md

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ More details on anatomy items in the
4242
Before you can use `Material3Expressive` component styles, follow the
4343
[`Material3Expressive` themes setup instructions](https://github.com/material-components/material-components-android/tree/master/docs/getting-started.md#material3expressive-themes).
4444

45-
<video src="assets/progressindicator/Progress_Indicator_Overview.mp4" width="760" height="400" controls></video>
45+
![Progress indicators have a new rounded, colorful style, and more
46+
configurations to choose from, including a wavy shape and variable track
47+
height](assets/progressindicator/order_details.gif)
4648

4749
Progress indicators have a new rounded, colorful style, and more configurations
4850
to choose from, including a wavy shape and variable track height
@@ -136,8 +138,8 @@ recommended**):
136138

137139
Material design offers two visually distinct types of progress indicators:
138140

139-
1. Linear
140-
2. Circular
141+
1. Linear
142+
2. Circular
141143

142144
**Note:** Only one type should represent each kind of activity in an app. For
143145
example, if a refresh action displays a circular indicator on one screen, that
@@ -151,7 +153,7 @@ tracked:
151153
* **Indeterminate progress indicators** move along a fixed track, growing and
152154
shrinking in size. Use it when progress and wait time is unknown.
153155

154-
<video src="assets/progressindicator/determinate_indeterminate.mp4" width="760" height="400" controls></video>
156+
![Determinate and indeterminate progress indicators](assets/progressindicator/determinate_indeterminate.gif)
155157

156158
1. Determinate
157159
2. Indeterminate
@@ -180,10 +182,8 @@ API and source code:
180182

181183
The following example shows a determinate linear progress indicator.
182184

183-
<img src="assets/progressindicator/linear_determinate.gif" alt="Determinate
184-
linear progress indicator animation: purple indicator fills up
185-
grey
186-
track" width="600"/>
185+
![Determinate linear progress indicator animation: purple indicator fills up
186+
grey track](assets/progressindicator/linear_determinate.gif)
187187

188188
In the layout:
189189

@@ -194,10 +194,8 @@ In the layout:
194194

195195
The following example shows an indeterminate linear progress indicator.
196196

197-
<img src="assets/progressindicator/linear_indeterminate.gif" alt="Indeterminate
198-
linear progress indicator animation: purple indicator travels
199-
along grey
200-
track" width="600"/>
197+
![Indeterminate linear progress indicator animation: purple indicator travels
198+
along grey track](assets/progressindicator/linear_indeterminate.gif)
201199

202200
In the layout:
203201

@@ -213,11 +211,17 @@ For linear progress indicator, there are two indeterminate animation types:
213211

214212
* `disjoint` - animates as repeated cycles with two disjoint segments in the
215213
same color at a time.
216-
<img src=" assets/progressindicator/linear_multicolor_disjoint.gif" alt="Disjointed indeterminate linear progress indicator animation: red indicator travels along track 2x then switches to yellow" width="600"/>
214+
215+
![Disjointed indeterminate linear progress indicator animation: red
216+
indicator travels along track 2x then switches to
217+
yellow](assets/progressindicator/linear_multicolor_disjoint.gif)
217218

218219
* `contiguous` - animates as repeated cycles with three adjacent segments in
219220
different colors.
220-
<img src=" assets/progressindicator/linear_multicolor_contiguous.gif" alt="Contiguous indeterminate linear progress indicator animation: red, yellow, blue indicators move sequentially and cover track" width="600"/>
221+
222+
![Contiguous indeterminate linear progress indicator animation: red, yellow,
223+
blue indicators move sequentially and cover
224+
track](assets/progressindicator/linear_multicolor_contiguous.gif)
221225

222226
**Note:** There is a minimum requirement of 3 indicator colors to use the
223227
**contiguous** animation. Otherwise, an IllegalArgumentException will be thrown.
Binary file not shown.
2.71 MB
Loading
Binary file not shown.
591 KB
Loading

0 commit comments

Comments
 (0)