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.
subject: Search View in Theme.AppCompat.Light.DarkActionBar Not Behaving As Expected