Skip to content

Commit 02704b4

Browse files
Material Design Teamraajkumars
authored andcommitted
[M3][Docs] Update Dialog developer documentation
PiperOrigin-RevId: 399242545
1 parent 6952e22 commit 02704b4

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/components/Dialog.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ can contain critical information, require decisions, or involve multiple tasks.
1717
**Contents**
1818

1919
* [Using dialogs](#using-dialogs)
20-
* [Alert dialog](#alert-dialog)
21-
* [Simple dialog](#simple-dialog)
22-
* [Confirmation dialog](#confirmation-dialog)
20+
* [Basic dialog](#basic-dialog)
2321
* [Full-screen dialog](#full-screen-dialog)
2422
* [Theming](#theming-dialogs)
2523

@@ -178,9 +176,11 @@ For specific button attributes, see the
178176

179177
#### Scrim attributes
180178

181-
Element | **Attribute** | **Related methods** | **Default value**
182-
--------------- | ----------------------------- | ------------------- | -----------------
183-
**Dim ammount** | `android:backgroundDimAmount` | N/A | 32%
179+
| Element | **Attribute** | **Related | **Default value** |
180+
: : : methods** : :
181+
| -------- | ----------------------------- | --------- | ----------------- |
182+
| **Dim | `android:backgroundDimAmount` | N/A | 32% |
183+
: amount** : : : :
184184

185185
#### Theme overlays
186186

@@ -210,8 +210,8 @@ and
210210
## Theming dialogs
211211

212212
A dialog supports
213-
[Material Theming](https://material.io/components/dialogs/#theming) and can be
214-
customized in terms of color, typography and shape.
213+
[Material Theming](https://material.io/components/dialogs/#theming) which can
214+
customize color, typography and shape.
215215

216216
### Dialog theming example
217217

@@ -272,7 +272,7 @@ In `res/values/styles.xml`:
272272
</style>
273273
```
274274

275-
Or if you want to only change one specific dialog, pass the `themeResId` to the
275+
Or if you want to change only one specific dialog, pass the `themeResId` to the
276276
constructor:
277277

278278
```kt

0 commit comments

Comments
 (0)