I defined a layout for the suggestion row, but after updating the AppCompat library to 22.1 the layout defined in the styles.xml is ignored.
This is my styles.xml file (simplified):
<style name="Theme.Upp" parent="@style/MyApp">
<item name="searchViewStyle">@style/SearchViewStyleMyApp</item>
</style>
<style name="SearchViewStyleMyApp" parent="Widget.AppCompat.SearchView">
<!-- Background for the search query section (e.g. EditText) -->
<!-- <item name="queryBackground">@android:color/black</item> -->
<!-- Background for the actions section (e.g. voice, submit) -->
<!-- <item name="submitBackground">...</item> -->
<!-- Close button icon -->
<!-- <item name="closeIcon">...</item> -->
<!-- Search button icon -->
<!-- <item name="searchIcon">...</item> -->
<!-- Go/commit button icon -->
<!-- <item name="goIcon">...</item> -->
<!-- Voice search button icon -->
<!-- <item name="voiceIcon">...</item> -->
<!-- Commit icon shown in the query suggestion row -->
<!-- <item name="commitIcon">...</item> -->
<!-- Layout for query suggestion rows -->
<item name="suggestionRowLayout">@layout/layout_suggestion_entry</item>
</style>
Even if I try to change the queryBackground it is not working.
Any ideas why?