Skip to content

Commit

Permalink
[BottomSheet] Update elevation to match specs
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 479423629
  • Loading branch information
imhappi authored and paulfthomas committed Oct 11, 2022
1 parent e8bfad5 commit 617e582
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/components/BottomSheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ Element | Attribute | Related method(s) | Def
-------------- | --------------------- | --------------------------------- | -------------
**Color** | `app:backgroundTint` | N/A | `?attr/colorSurface`
**Shape** | `app:shapeAppearance` | N/A | `?attr/shapeAppearanceLargeComponent`
**Elevation** | `android:elevation` | N/A | `3dp`
**Elevation** | `android:elevation` | N/A | `1dp`
**Max width** | `android:maxWidth` | `setMaxWidth`<br/>`getMaxWidth` | `640dp`
**Max height** | `android:maxHeight` | `setMaxHeight`<br/>`getMaxHeight` | N/A

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

<dimen name="material_bottom_sheet_max_width">640dp</dimen>

<dimen name="m3_bottom_sheet_elevation">@dimen/m3_sys_elevation_level2</dimen>
<dimen name="m3_bottom_sheet_modal_elevation">@dimen/m3_sys_elevation_level3</dimen>
<dimen name="m3_bottom_sheet_elevation">@dimen/m3_sys_elevation_level1</dimen>
<dimen name="m3_bottom_sheet_modal_elevation">@dimen/m3_sys_elevation_level1</dimen>

<dimen name="m3_bottom_sheet_drag_handle_bottom_padding">20dp</dimen>
</resources>

0 comments on commit 617e582

Please sign in to comment.