@@ -134,20 +134,19 @@ to set the target visibility as `Visibiltiy.INVISIBLE` (default) or
134134Progress indicators can have rounded corners via ` app:trackCornerRadius ` or the
135135` setTrackCornerRadius ` method.
136136
137- ## Types
137+ ### Types
138138
139- Material Design offers two visually distinct types of progress indicators:
140-
141- 1 . [ linear] ( #linear-progress-indicators )
142- 2 . [ circular] ( #circular-progress-indicators )
139+ Material Design offers two visually distinct types of progress indicators: 1\.
140+ [ linear] ( #linear-progress-indicators ) 2\.
141+ [ circular] ( #circular-progress-indicators )
143142
144143Only one type should represent each kind of activity in an app. For example, if
145144a refresh action displays a circular indicator on one screen, that same action
146145shouldn’t use a linear indicator elsewhere in the app.
147146
148- ![ Composite image of progress indicator types] ( assets/progressindicator/indeterminate_composite .gif )
147+ ![ Composite image of progress indicator types] ( assets/progressindicator/types .gif )
149148
150- ### Linear progress indicators
149+ ## Linear progress indicators
151150
152151Linear progress indicators display progress by animating an indicator along the
153152length of a fixed, visible track. The behavior of the indicator is dependent on
@@ -204,7 +203,7 @@ For linear progress indicator, there are two indeterminate animation types:
204203* ` contiguous ` - animates as repeated cycles with three adjacent segments in
205204 iterative different colors.
206205
207- ### Circular progress indicators
206+ ## Circular progress indicators
208207
209208Circular progress indicators display progress by animating an indicator along an
210209invisible circular track in a clockwise direction. They can be applied directly
@@ -264,33 +263,33 @@ indicators:
264263
265264  ; | Attribute | Related method(s) | Default value
266265----------------------------- | --------------------------- | --------------------------------------------------------- | -------------
267- ** track thickness** | ` app:trackThickness ` | ` setTrackThickness ` </br >` getTrackThickness ` | ` 4dp `
268- ** indicator color** | ` app:indicatorColor ` | ` setIndicatorColor ` </br >` getIndicatorColor ` | ` colorPrimary `
269- ** track color** | ` app:trackColor ` | ` setTrackColor ` </br >` getTrackColor ` | ` indicatorColor ` at ` disabledAlpha `
270- ** track corner radius** | ` app:trackCornerRadius ` | ` setTrackCornerRadius ` </br >` getTrackCornerRadius ` | ` 0dp `
271- ** show animation behavior** | ` app:showAnimationBehavior ` | ` setShowAnimationBehavior ` </br >` getShowAnimationBehavior ` | ` none `
272- ** hide animation behavior** | ` app:hideAnimationBehavior ` | ` setHideAnimationBehavior ` </br >` getHideAnimationBehavior ` | ` none `
273- ** delay (in ms) to show** | ` app:showDelay ` | N/A | 0
274- ** min delay (in ms) to hide** | ` app:minHideDelay ` | N/A | 0
266+ ** Track thickness** | ` app:trackThickness ` | ` setTrackThickness ` </br >` getTrackThickness ` | ` 4dp `
267+ ** Indicator color** | ` app:indicatorColor ` | ` setIndicatorColor ` </br >` getIndicatorColor ` | ` colorPrimary `
268+ ** Track color** | ` app:trackColor ` | ` setTrackColor ` </br >` getTrackColor ` | ` indicatorColor ` at ` disabledAlpha `
269+ ** Track corner radius** | ` app:trackCornerRadius ` | ` setTrackCornerRadius ` </br >` getTrackCornerRadius ` | ` 0dp `
270+ ** Show animation behavior** | ` app:showAnimationBehavior ` | ` setShowAnimationBehavior ` </br >` getShowAnimationBehavior ` | ` none `
271+ ** Hide animation behavior** | ` app:hideAnimationBehavior ` | ` setHideAnimationBehavior ` </br >` getHideAnimationBehavior ` | ` none `
272+ ** Delay (in ms) to show** | ` app:showDelay ` | N/A | 0
273+ ** Min delay (in ms) to hide** | ` app:minHideDelay ` | N/A | 0
275274
276275#### Linear type specific attributes
277276
278277Linear type progress indicators also have the following attributes:
279278
280279  ; | Attribute | Related method(s) | Default value
281280-------------------------------- | -------------------------------- | ------------------------------------------------------------------- | -------------
282- ** indeterminate animation type** | ` app:indeterminateAnimationType ` | ` setIndeterminateAnimationType ` </br >` getIndeterminateAnimationType ` | ` disjoint `
283- ** indicator direction** | ` app:indicatorDirectionLinear ` | ` setIndicatorDirection ` </br >` getIndicatorDirection ` | ` leftToRight `
281+ ** Indeterminate animation type** | ` app:indeterminateAnimationType ` | ` setIndeterminateAnimationType ` </br >` getIndeterminateAnimationType ` | ` disjoint `
282+ ** Indicator direction** | ` app:indicatorDirectionLinear ` | ` setIndicatorDirection ` </br >` getIndicatorDirection ` | ` leftToRight `
284283
285284#### Circular type specific attributes
286285
287286Circular type progress indicators also have the following attributes:
288287
289288  ; | Attribute | Related method(s) | Default value
290289--------------------------------- | -------------------------------- | --------------------------------------------------- | -------------
291- ** spinner size (outer diameter)** | ` app:indicatorSize ` | ` setIndicatorSize ` </br >` getIndicatorSize ` | ` 40dp `
292- ** inset ** | ` app:indicatorInset ` | ` setIndicatorInset ` </br >` getIndicatorInset ` | ` 4dp `
293- ** indicator direction** | ` app:indicatorDirectionCircular ` | ` setIndicatorDirection ` </br >` getIndicatorDirection ` | ` clockwise `
290+ ** Spinner size (outer diameter)** | ` app:indicatorSize ` | ` setIndicatorSize ` </br >` getIndicatorSize ` | ` 40dp `
291+ ** Inset ** | ` app:indicatorInset ` | ` setIndicatorInset ` </br >` getIndicatorInset ` | ` 4dp `
292+ ** Indicator direction** | ` app:indicatorDirectionCircular ` | ` setIndicatorDirection ` </br >` getIndicatorDirection ` | ` clockwise `
294293
295294#### Styles
296295
0 commit comments