This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
When I click on the Search View widget icon, it seems as though my theme is being overridden for some reason. Everything else about the search functionality works just fine, expect for the aforementioned issue. Anybody know anything about why this is happening?
If you are using the search dialog provided my Android via the onSearchRequested() method, then I don't think that is configurable to your Theme. Instead, you would use the SearchView that you get from SearchManager. See this article: http://developer.android.com/reference/android/content/ComponentName.html. It explains both the dialog and view and when you would choose one or the other. The SearchView part is at the bottom, and I think adding custom search suggestions works the same.
Joined: Mar 07, 2014
Steve Luke wrote:Do you have any code to show us what you do to get the search widget or what search widget you are talking about?
As I had said, the code for this can be seen at the tutorial link provided. Otherwise, it is scattered throughout my own code.