When you instantiate the SearchView use getThemedContext() instead of getContext().
On Sunday, April 22, 2012 2:48:04 PM UTC-7, Lars wrote: > > When creating a searchview in an android > 4.03 when using the theme holo light with darkactionbar > The style of the drawables of the searchview > Doesn't match. > > If have already reported it as a bug. > http://code.google.com/p/android/issues/detail?id=29288 > > Is there a way to set the style of the searchview > When using the holo light darkactionbar theme > To the style when using the theme holo dark?? > Which has the right drawables. > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

