I am using search view.
<android.support.v7.widget.SearchView
android:id="@+id/searchView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toLeftOf="@+id/imageViewMenu"
>
</android.support.v7.widget.SearchView>
Is this possible to change text color and icon color to view?
Currently it shows black text and icon. I want to change it to white color text and white search icon.
apply this theme to your toolbar hint that (colorControlHighlight) color of ripple effct of your menu items
For the android.support.v7.widget.SearchView you can change the text color, text hint color and the icon with this code :
To Change the Text color :
To Change the close button :
// This excerpt is from Android source code (SearchView.java)
Reference : link
If it resides in toolbar, set theme for toolbar. For example this makes the text(and icon) white
Yes, you can do it, one of ways to do it:
This may work..