Skip to content

Commit

Permalink
[SideSheet] Fixed container color assigned to incorrect attribute.
Browse files Browse the repository at this point in the history
Should be `app:backgroundTint` not `android:background`.

PiperOrigin-RevId: 523147016
  • Loading branch information
pekingme authored and drchen committed Apr 12, 2023
1 parent 0a4e419 commit a4c65d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<!-- Style for the M3 Standard Side Sheet. -->
<style name="Widget.Material3.SideSheet" parent="">
<item name="enforceMaterialTheme">true</item>
<item name="android:background">@macro/m3_comp_sheet_side_docked_container_color</item>
<item name="backgroundTint">@macro/m3_comp_sheet_side_docked_container_color</item>
<!-- Layout_* attributes break when set via a default style, but it's ok to
set layout_* attributes from this style, because this style always
needs to be explicitly set on the behavior's associated View in the
Expand Down

0 comments on commit a4c65d8

Please sign in to comment.