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:
Yuichi Araki 2016-11-30 03:48:05 +00:00 committed by Travis Collins
parent b1666d8816
commit eac74bbf58
2 changed files with 1 additions and 2 deletions

View File

@ -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"

View File

@ -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>