Skip to content

Commit 64d61d3

Browse files
manabu-nakamurakendrickumstattd
authored andcommitted
[Docs] Update SideSheet.md
Resolves #4479 GIT_ORIGIN_REV_ID=6d62887a4237cf3230b560733f1ae58f2617f8d8 PiperOrigin-RevId: 711405858
1 parent b07e48b commit 64d61d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/components/SideSheet.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ Element | Attribute | Related method(s)
268268
---------------------------- | --------------------------- | ------------------------------------------------------- | -------------
269269
**Color** | `app:backgroundTint` | N/A | `?attr/colorSurface`</br>`?attr/colorSurfaceContainerLow` (modal)
270270
**Coplanar sibling view id** | `app:coplanarSiblingViewId` | `setCoplanarSiblingViewId`<br/>`setCoplanarSiblingView` | N/A
271-
**Shape** | `app:shapeAppearance` | N/A | `?attr/shapeAppearanceLargeComponent`
271+
**Shape** | `app:shapeAppearance` | N/A | `?attr/shapeAppearanceCornerLarge`
272272
**Sheet edge** | `android:layout_gravity` | `setSheetEdge` (modal only) | end
273273
**Elevation** | `android:elevation` | N/A | 0dp
274274
**Max width** | `android:maxWidth` | `setMaxWidth`<br/>`getMaxWidth` | N/A
@@ -438,10 +438,10 @@ In `res/values/styles.xml`:
438438
```xml
439439
<style name="Widget.App.SideSheet.Modal" parent="Widget.Material3.SideSheet.Modal">
440440
<item name="backgroundTint">@color/shrine_pink_light</item>
441-
<item name="shapeAppearance">@style/ShapeAppearance.App.LargeComponent</item>
441+
<item name="shapeAppearance">@style/ShapeAppearance.App.Corner.Large</item>
442442
</style>
443443

444-
<style name="ShapeAppearance.App.LargeComponent" parent="ShapeAppearance.Material3.LargeComponent">
444+
<style name="ShapeAppearance.App.Corner.Large" parent="ShapeAppearance.Material3.Corner.Large">
445445
<item name="cornerFamily">cut</item>
446446
<item name="cornerSize">24dp</item>
447447
</style>

0 commit comments

Comments
 (0)