Skip to content

Commit

Permalink
[SearchBar][SearchView] Fixed package path in developer documentation.
Browse files Browse the repository at this point in the history
Resolves #3108
Resolves #3109

GIT_ORIGIN_REV_ID=0ffbcd8845e38f396da6355f43e81815b1eb3a5b
PiperOrigin-RevId: 492313989

(cherry picked from commit ee52406)
  • Loading branch information
RoneyThomas authored and dsn5ft committed Dec 9, 2022
1 parent 38605f4 commit 73c47c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/components/Search.md
Expand Up @@ -322,20 +322,20 @@ Putting it all together and using the scroll-away mode, the `SearchBar` and
<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.google.android.libraries.material.search.SearchBar
<com.google.android.material.search.SearchBar
android:id="@+id/search_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/searchbar_hint" />
</com.google.android.material.appbar.AppBarLayout>

<com.google.android.libraries.material.search.SearchView
<com.google.android.material.search.SearchView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:hint="@string/searchbar_hint"
app:layout_anchor="@id/search_bar">
<!-- Search suggestions/results go here (ScrollView, RecyclerView, etc.). -->
</com.google.android.libraries.material.search.SearchView>
</com.google.android.material.search.SearchView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
```

Expand Down

0 comments on commit 73c47c2

Please sign in to comment.