@@ -12,7 +12,7 @@ path: /catalog/progress-indicators/
1212[ Progress indicators] ( https://material.io/components/progress-indicators )
1313express an unspecified wait time or display the length of a process.
1414
15- ![ Progress indicator hero ] ( assets/progressindicator/indeterminate_hero.gif )
15+ ![ Animation of purple linear progress indicator beneath "My Recipes" top app bar ] ( assets/progressindicator/indeterminate_hero.gif )
1616
1717** Contents**
1818
@@ -39,7 +39,9 @@ progress rather than the progress of each activity.**_
3939
4040### Usage
4141
42- ![ determinate type composite] ( assets/progressindicator/determinate_composite.gif )
42+ ![ Animation of determinate linear and circular progress indicators: purple
43+ indicators fill up grey
44+ tracks] ( assets/progressindicator/determinate_composite.gif )
4345
4446A determinate progress indicator can added in a layout like so:
4547
@@ -54,7 +56,9 @@ A determinate progress indicator can added in a layout like so:
5456 android : layout_height =" wrap_content" />
5557```
5658
57- ![ indeterminate type composite] ( assets/progressindicator/indeterminate_composite.gif )
59+ ![ Animation of indeterminate linear and circular progress indicators: purple
60+ indicators travel along grey
61+ tracks] ( assets/progressindicator/indeterminate_composite.gif )
5862
5963An indeterminate progress indicator can be added like so:
6064
@@ -73,7 +77,9 @@ An indeterminate progress indicator can be added like so:
7377
7478### Switching from indeterminate to determinate
7579
76- ![ Switching from indeterminate to determinate] ( assets/progressindicator/switch_composite.gif )
80+ ![ Animation of linear and circular progress indicators: purple indicators travel
81+ along gray tracks then fill up
82+ tracks.] ( assets/progressindicator/switch_composite.gif )
7783
7884Indeterminate progress indicators can smoothly transit to determinate progress
7985indicators by setting the ` progress ` programmatically:
@@ -129,7 +135,8 @@ to set the target visibility as `Visibiltiy.INVISIBLE` (default) or
129135
130136### Rounded corners
131137
132- ![ rounded progress indicators] ( assets/progressindicator/rounded_corner_composite.png )
138+ ![ Linear and circular progress indicators: tracks and indicators have rounded
139+ corners] ( assets/progressindicator/rounded_corner_composite.png )
133140
134141Progress indicators can have rounded corners via ` app:trackCornerRadius ` or the
135142` setTrackCornerRadius ` method.
@@ -144,7 +151,7 @@ Only one type should represent each kind of activity in an app. For example, if
144151a refresh action displays a circular indicator on one screen, that same action
145152shouldn’t use a linear indicator elsewhere in the app.
146153
147- ![ Composite image of progress indicator types] ( assets/progressindicator/types.gif )
154+ ![ Composite image of linear and circular progress indicator types] ( assets/progressindicator/types.gif )
148155
149156## Linear progress indicators
150157
@@ -166,7 +173,8 @@ Source code:
166173
167174The following example shows a determinate linear progress indicator.
168175
169- ![ determinate linear progress indicator] ( assets/progressindicator/linear_determinate_compact.gif )
176+ ![ Determinate linear progress indicator animation: purple indicator fills up
177+ grey track] ( assets/progressindicator/linear_determinate_compact.gif )
170178
171179In the layout:
172180
@@ -178,7 +186,8 @@ In the layout:
178186
179187The following example shows an indeterminate linear progress indicator.
180188
181- ![ indeterminate linear progress indicator] ( assets/progressindicator/linear_indeterminate_compact.gif )
189+ ![ Indeterminate linear progress indicator animation: purple indicator travels
190+ along grey track] ( assets/progressindicator/linear_indeterminate_compact.gif )
182191
183192In the layout:
184193
@@ -193,12 +202,16 @@ In the layout:
193202
194203For linear progress indicator, there are two indeterminate animation types:
195204
196- ![ indeterminate linear progress indicator with disjoint animation] ( assets/progressindicator/linear_multicolor_disjoint.gif )
205+ ![ Disjointed indeterminate linear progress indicator animation: red indicator
206+ travels along track 2x then switches to
207+ yellow] ( assets/progressindicator/linear_multicolor_disjoint.gif )
197208
198209* ` disjoint ` - animates as repeated cycles with two disjoint segments in the
199210 same color at a time.
200211
201- ![ indeterminate linear progress indicator with contiguous animation] ( assets/progressindicator/linear_multicolor_contiguous.gif )
212+ ![ Contiguous indeterminate linear progress indicator animation: red, yellow,
213+ blue indicators move sequentially and cover
214+ track] ( assets/progressindicator/linear_multicolor_contiguous.gif )
202215
203216* ` contiguous ` - animates as repeated cycles with three adjacent segments in
204217 iterative different colors.
@@ -223,7 +236,9 @@ Source code:
223236
224237The following example shows a determinate circular progress indicator.
225238
226- ![ determinate circular progress indicator] ( assets/progressindicator/circular_determinate_compact.gif )
239+ ![ Determinate circular progress indicator animation: purple indicator draws a
240+ circle clockwise from the
241+ top] ( assets/progressindicator/circular_determinate_compact.gif )
227242
228243In the layout:
229244
@@ -236,7 +251,9 @@ In the layout:
236251
237252The following example shows an indeterminate circular progress indicator.
238253
239- ![ indeterminate circular progress indicator] ( assets/progressindicator/circular_indeterminate_compact.gif )
254+ ![ Indeterminate circular progress indicator animation: purple indicator follows
255+ a circle clockwise from the
256+ top] ( assets/progressindicator/circular_indeterminate_compact.gif )
240257
241258In the layout:
242259
@@ -301,7 +318,6 @@ Element | Style
301318** Small circular** <br />** style** | ` Widget.MaterialComponents.CircularProgressIndicator.Small `
302319** Extra small circular** <br />** style** | ` Widget.MaterialComponents.CircularProgressIndicator.ExtraSmall `
303320
304-
305321Default linear style theme attribute: ` ?attr/linearProgressIndicatorStyle `
306322
307323Default circular style theme attribute: ` ?attr/circularProgressIndicatorStyle `
@@ -320,7 +336,9 @@ color and size.
320336
321337The following example shows a circular progress indicator with Material Theming.
322338
323- ![ "Circular progress indicator example with pink color."] ( assets/progressindicator/circular_theming.gif )
339+ ![ "Circular progress indicator animation: pink circle segment circles center,
340+ then pink circle segment fills
341+ circle"] ( assets/progressindicator/circular_theming.gif )
324342
325343#### Implementing progress indicator theming
326344
0 commit comments