Skip to content

Commit bb0f842

Browse files
Material Design Teamhunterstich
authored andcommitted
[Catalog] enable expressive SearchView in AppBarWithSearch demos
PiperOrigin-RevId: 880971433
1 parent 84ece98 commit bb0f842

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

catalog/java/io/material/catalog/search/res/layout/cat_search_appbar_icons_fragment.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
android:id="@+id/app_bar_layout"
2525
android:layout_width="match_parent"
2626
android:layout_height="wrap_content"
27+
android:theme="@style/ThemeOverlay.Material3Expressive.AppBarWithSearch"
2728
android:fitsSystemWindows="true">
2829

2930
<androidx.constraintlayout.widget.ConstraintLayout
@@ -113,6 +114,7 @@
113114

114115
<com.google.android.material.search.SearchView
115116
android:id="@+id/cat_search_view"
117+
style="@style/Widget.Material3Expressive.SearchView.AppBarWithSearch"
116118
android:layout_width="match_parent"
117119
android:layout_height="match_parent"
118120
android:hint="@string/cat_searchbar_short_hint"

0 commit comments

Comments
 (0)