Course Content

  • Android SearchView

Course Content


  • Include a Search widget on your homepage.
  • Open the Google app on your Android phone or tablet.
  • Tap your Profile photo or the initial Settings Search widget in the top right corner.
  • To change the colour, shape, transparency, and Google logo, tap the icons at the bottom.
    Don't forget to tap Done.

Use searchView to access the text of SearchView. getQuery() is a function that returns a query.

The SearchView widget can be added to a ToolBar/ActionBar or a layout. The setIconifiedByDefault(true) function of the SearchView class makes the SearchView collapsible and iconified by default. SearchView utilises the setIconifiedByDefault(false) function to make the search field visible.

Recommended Courses

Share With Friend

Have a friend to whom you would want to share this course?

Download LearnVern App

App Preview Image
App QR Code Image
Code Scan or Download the app
Google Play Store
Apple App Store
598K+ Downloads
App Download Section Circle 1
4.57 Avg. Ratings
App Download Section Circle 2
15K+ Reviews
App Download Section Circle 3
  • Learn anywhere on the go
  • Get regular updates about your enrolled or new courses
  • Share content with your friends
  • Evaluate your progress through practice tests
  • No internet connection needed
  • Enroll for the webinar and join at the time of the webinar from anywhere