Skip to content

Commit

Permalink
[Doc] Update icon button section of Buttons doc.
Browse files Browse the repository at this point in the history
Resolves #3996

PiperOrigin-RevId: 600464809
(cherry picked from commit d73b3a4)
  • Loading branch information
leticiarossi authored and hunterstich committed Mar 21, 2024
1 parent 2a12851 commit 3a5bb7d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/components/Button.md
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,8 @@ In the layout:
android:id="@+id/iconButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/standard_icon_btn_desc"
app:icon="@drawable/ic_icon_24dp"
/>
```

Expand All @@ -901,6 +903,8 @@ In the layout:
android:id="@+id/iconButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/filled_icon_btn_desc"
app:icon="@drawable/ic_icon_24dp"
/>
```

Expand All @@ -918,6 +922,8 @@ In the layout:
android:id="@+id/iconButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/filled_tonal_icon_btn_desc"
app:icon="@drawable/ic_icon_24dp"
/>
```

Expand All @@ -935,6 +941,8 @@ In the layout:
android:id="@+id/iconButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/outlined_icon_btn_desc"
app:icon="@drawable/ic_icon_24dp"
/>
```

Expand Down

0 comments on commit 3a5bb7d

Please sign in to comment.