[Docs] Update images in Chip, Button, and Extended FAB.
PiperOrigin-RevId: 815553162
@ -123,8 +123,8 @@ By default, the filled button is uncheckable. To make it checkable, enable the
|
||||
|
||||
Default <div style="width:250px"></div> | Checked <div style="width:250px"></div> | Unchecked <div style="width:250px"></div>
|
||||
------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -----------------------------------------
|
||||
 |  | 
|
||||
 |  | 
|
||||
 |  | 
|
||||
 |  | 
|
||||
|
||||
By default, the tonal button is uncheckable. To make it checkable, enable the
|
||||
`android:checkable` attribute in style or layout.
|
||||
@ -144,8 +144,8 @@ By default, the tonal button is uncheckable. To make it checkable, enable the
|
||||
|
||||
Default <div style="width:250px"></div> | Checked <div style="width:250px"></div> | Unchecked <div style="width:250px"></div>
|
||||
------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ | -----------------------------------------
|
||||
 |  | 
|
||||
 |  | 
|
||||
 |  | 
|
||||
 |  | 
|
||||
|
||||
By default, the outlined button is uncheckable. To make it checkable, enable the
|
||||
`android:checkable` attribute in style or layout.
|
||||
@ -163,7 +163,7 @@ By default, the outlined button is uncheckable. To make it checkable, enable the
|
||||
|
||||
<details><summary><h5>Text</h5></summary>
|
||||
|
||||
<img src="assets/buttons/text-button-dark.png" alt="Expressive text button in dark theme with dark text and no outline" width="175"> <div style="width:380px"></div> | <img src="assets/buttons/text-button-light.png" alt="Expressive text button in light theme with light text and no outline" width="175"> <div style="width:380px"></div>
|
||||
<img src="assets/buttons/text-button-dark.png" alt="Expressive text button in dark theme with dark text and no outline" width="175"> <div style="width:400px"></div> | <img src="assets/buttons/text-button-light.png" alt="Expressive text button in light theme with light text and no outline" width="175"> <div style="width:400px"></div>
|
||||
-------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
The text button appears as only text until pressed. It does not have a solid
|
||||
@ -183,8 +183,8 @@ fill or outline by default.
|
||||
|
||||
Default <div style="width:250px"></div> | Checked <div style="width:250px"></div> | Unchecked <div style="width:250px"></div>
|
||||
----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -----------------------------------------
|
||||
 |  | 
|
||||
 |  | 
|
||||
 |  | 
|
||||
 |  | 
|
||||
|
||||
By default, the elevated button is uncheckable. To make it checkable, enable the
|
||||
`android:checkable` attribute in style or layout.
|
||||
@ -228,7 +228,7 @@ should be placed on the leading side of the button, before the label text.
|
||||
|
||||
Default <div style="width:250px"></div> | Checked <div style="width:250px"></div> | Unchecked <div style="width:250px"></div>
|
||||
---------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -----------------------------------------
|
||||
 |  | 
|
||||
 |  | 
|
||||
|
||||
```xml
|
||||
<Button
|
||||
@ -243,7 +243,7 @@ Default <div style="width:250px"></div>
|
||||
|
||||
Default <div style="width:250px"></div> | Checked <div style="width:250px"></div> | Unchecked <div style="width:250px"></div>
|
||||
------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -----------------------------------------
|
||||
 |  | 
|
||||
 |  | 
|
||||
|
||||
```xml
|
||||
<Button
|
||||
@ -262,7 +262,7 @@ actual sizes in px on mobile devices depends on the screen pixel density.
|
||||
|
||||
<details><summary><h5>Extra small</h5></summary>
|
||||
|
||||
<img src="assets/buttons/extrasmall.png" width=214.5 height=96/>
|
||||
<img src="assets/buttons/extrasmall.png" width=201 height=144/>
|
||||
|
||||
```xml
|
||||
<Button
|
||||
@ -276,7 +276,7 @@ actual sizes in px on mobile devices depends on the screen pixel density.
|
||||
|
||||
<details><summary><h5>Small</h5></summary>
|
||||
|
||||
<img src="assets/buttons/small-size.png" width=228.5 height=96/>
|
||||
<img src="assets/buttons/small-size.png" width=225 height=144/>
|
||||
|
||||
```xml
|
||||
<Button
|
||||
@ -289,7 +289,7 @@ actual sizes in px on mobile devices depends on the screen pixel density.
|
||||
|
||||
<details><summary><h5>Medium</h5></summary>
|
||||
|
||||
<img src="assets/buttons/medium-size.png" width=284 height=107/>
|
||||
<img src="assets/buttons/medium-size.png" width=288 height=168/>
|
||||
|
||||
```xml
|
||||
<Button
|
||||
@ -303,7 +303,7 @@ actual sizes in px on mobile devices depends on the screen pixel density.
|
||||
|
||||
<details><summary><h5>Large</h5></summary>
|
||||
|
||||
<img src="assets/buttons/large-size.png" width=475 height=192.5/>
|
||||
<img src="assets/buttons/large-size.png" width=501 height=288/>
|
||||
|
||||
```xml
|
||||
<Button
|
||||
@ -317,7 +317,7 @@ actual sizes in px on mobile devices depends on the screen pixel density.
|
||||
|
||||
<details><summary><h5>Extra Large</h5></summary>
|
||||
|
||||
<img src="assets/buttons/extra-large-size.png" width=632 height=277.5/>
|
||||
<img src="assets/buttons/extra-large-size.png" width=670 height=408/>
|
||||
|
||||
```xml
|
||||
<Button
|
||||
|
||||
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 6.3 KiB |
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 6.4 KiB |
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.8 KiB |
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.8 KiB |
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 6.3 KiB |
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 6.2 KiB |
|
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 7.9 KiB |
|
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 7.9 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.3 KiB |
|
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.4 KiB |
|
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.8 KiB |
|
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 7.0 KiB |
|
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.4 KiB |
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.2 KiB |
|
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.7 KiB |
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 8.4 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 7.5 KiB |
|
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 9.0 KiB |
|
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 7.0 KiB |
|
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 7.3 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 8.4 KiB |
|
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 8.2 KiB |