mirror of
https://github.com/material-components/material-components-android.git
synced 2026-02-20 08:39:55 +08:00
Merge "Modal bottom sheet matches screen width by default" into mnc-ub-dev am: bd8ba2fe8d
am: 7757039856 * commit '7757039856d1c1bf85f1232a41fcc3bd329ddf34': Modal bottom sheet matches screen width by default GitOrigin-RevId=90675c97d475c1092ecc00d29a131d22f0c34574 PiperOrigin-RevId: 140559678
This commit is contained in:
parent
b1666d8816
commit
eac74bbf58
@ -23,7 +23,7 @@
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/design_bottom_sheet"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
app:layout_behavior="@string/bottom_sheet_behavior"
|
||||
|
||||
@ -120,7 +120,6 @@
|
||||
</style>
|
||||
|
||||
<style name="Widget.Design.BottomSheet.Modal" parent="android:Widget">
|
||||
<item name="android:minWidth">384dp</item>
|
||||
<item name="android:background">?android:attr/colorBackground</item>
|
||||
<item name="android:elevation">@dimen/design_bottom_sheet_modal_elevation</item>
|
||||
<item name="behavior_peekHeight">@dimen/design_bottom_sheet_modal_peek_height</item>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user