Skip to content

Commit a4c65d8

Browse files
pekingmedrchen
authored andcommitted
[SideSheet] Fixed container color assigned to incorrect attribute.
Should be `app:backgroundTint` not `android:background`. PiperOrigin-RevId: 523147016
1 parent 0a4e419 commit a4c65d8

File tree

1 file changed

+1
-1
lines changed
  • lib/java/com/google/android/material/sidesheet/res/values

1 file changed

+1
-1
lines changed

lib/java/com/google/android/material/sidesheet/res/values/styles.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<!-- Style for the M3 Standard Side Sheet. -->
2020
<style name="Widget.Material3.SideSheet" parent="">
2121
<item name="enforceMaterialTheme">true</item>
22-
<item name="android:background">@macro/m3_comp_sheet_side_docked_container_color</item>
22+
<item name="backgroundTint">@macro/m3_comp_sheet_side_docked_container_color</item>
2323
<!-- Layout_* attributes break when set via a default style, but it's ok to
2424
set layout_* attributes from this style, because this style always
2525
needs to be explicitly set on the behavior's associated View in the

0 commit comments

Comments
 (0)