Skip to content

Commit 799a78c

Browse files
albertvakahunterstich
authored andcommitted
[ProgressIndicator] Fixed typo in progressindicator sample code
Resolves #2048 GIT_ORIGIN_REV_ID=efc6062d808f4afe01c06e88c49d6c8cb3172bb8 PiperOrigin-RevId: 356779678
1 parent 1c872e8 commit 799a78c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/components/ProgressIndicator.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,9 @@ top](assets/progressindicator/circular_determinate_compact.gif)
243243
In the layout:
244244

245245
```xml
246-
<com.google.android.material.progressindicator.LinearProgressIndicator
247-
android:layout_width="match_parent"
248-
android:layout_height="wrap_content"
249-
android:indeterminate="true" />
246+
<com.google.android.material.progressindicator.CircularProgressIndicator
247+
android:layout_width="wrap_content"
248+
android:layout_height="wrap_content" />
250249
```
251250

252251
The following example shows an indeterminate circular progress indicator.

0 commit comments

Comments
 (0)