File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
lib/java/com/google/android/material/sidesheet/res Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 4141 <FrameLayout
4242 android : id =" @+id/m3_side_sheet"
4343 style =" ?attr/sideSheetModalStyle"
44- android : layout_width =" @dimen/m3_side_sheet_width"
45- android : layout_height =" match_parent"
4644 app : layout_behavior =" @string/side_sheet_behavior" />
4745
4846 </androidx .coordinatorlayout.widget.CoordinatorLayout>
Original file line number Diff line number Diff line change 4040
4141 <!-- Style for the M3 Modal Side Sheet. -->
4242 <style name =" Widget.Material3.SideSheet.Modal" >
43+ <!-- Layout_* attributes break when set via a default style, but it's ok to
44+ set layout_* attributes from this style, because this style is set
45+ explicitly on the modal side sheet View. -->
46+ <item name =" android:layout_width" >@dimen/m3_side_sheet_width</item >
47+ <item name =" android:layout_height" >match_parent</item >
4348 <item name =" android:elevation" tools : ignore =" NewApi" >@dimen/m3_side_sheet_modal_elevation</item >
4449 <item name =" backgroundTint" >@macro/m3_comp_sheet_side_docked_modal_container_color</item >
4550 <item name =" shapeAppearance" >@macro/m3_comp_sheet_side_docked_modal_container_shape</item >
You can’t perform that action at this time.
0 commit comments