GoConqr has a new look! Let us know what you think.

Mind map

SearchView Widget

Łukasz Szymański Coding English

SearchView Widget

Map content

SearchView Widget

  • [Assumptions and constraints] - SearchView in ActionBar - Use of support library Sources, more: https://developer.android.com/guide/topics/search/search-dialog.html
  1. SearchActivity.java

    • onCreateOptionsMenu(Menu menu)
        • [Optional] Use this when you have problems with SearchView size - width does not match action bar.
        • [Optional] Use this when you want to expand SearchView when SearchActivity is created.
        • [Optional] Use this when you want back button in SearchView to close SearchActivity.
  2. AndroidManifest.xml

      • com.example.SearchActivity is a full path to the SearchActivity.
      • launchMode="singleTop" does not create multiple instances of the SearchActivity when the user perform additional searches.
  3. res/xml/searchable.xml

  4. res/menu/search.xml

  5. res/values/strings.xml

Images and files in the map

  • SearchView Widget
  • SearchView Widget
  • SearchView Widget
  • SearchView Widget
  • SearchView Widget
  • SearchView Widget
  • SearchView Widget
  • SearchView Widget
  • SearchView Widget
  • SearchView Widget
  • SearchView Widget
  • SearchView Widget

Information

Description
Coding (Android) Mind Map on SearchView Widget, created by Łukasz Szymański on 22/03/2017.
Views
16
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?