I was trying to use the Holo Light theme with dark action bars as recommended on android guidelines.
This is my themes.xml file:
<resources>
<style name="Theme.MyApp" parent="@android:style/Theme.Holo.Light">
<item name="android:actionBarStyle">@style/Widget.MyApp.ActionBar</item>
</style>
<style name="Widget.MyApp.ActionBar" parent="@android:style/Widget.Holo.ActionBar">
<item name="android:background">@android:drawable/dark_header</item>
<item name="android:titleTextStyle">@style/MyApp.ActionBar.TextAppearance</item>
</style>
<style name="MyApp.ActionBar.TextAppearance" parent="@android:style/TextAppearance">
<item name="android:textColor">@android:color/primary_text_dark</item>
</style>
</resources>
The result without using the search interface is the expected, but when I use the SearchView
the background is from Holo.Light theme:
There is any way to change the SearchView default style on the ActionBar?