Skip to content

Commit cbbd50d

Browse files
pekingmedsn5ft
authored andcommitted
[SearchBar] Enforced outline variant to use colorSurface as container color.
PiperOrigin-RevId: 553337995 (cherry picked from commit 720998d)
1 parent 845007e commit cbbd50d

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838

3939
<style name="Widget.Material3.SearchBar.Outlined">
4040
<item name="elevation">0dp</item>
41+
<item name="backgroundTint">?attr/colorSurface</item>
4142
<item name="strokeWidth">@dimen/m3_searchbar_outlined_stroke_width</item>
4243
<item name="strokeColor">?attr/colorOutline</item>
4344
</style>

0 commit comments

Comments
 (0)