my searchView which is in a toolbar is not showing the texts which is inside the searchView's textBox please see the below image :
when am entering text the cursor is moving as you can see below but the text is not visible
but when am selecting the entered text , now you can see the entered text , the icon for collapsing searchView is also no visible (which is here at the left side of searchView ) any idea why is this happening ???
my xml file :
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/action_search"
android:icon="@drawable/icon_search"
app:actionViewClass="android.support.v7.widget.SearchView"
app:showAsAction="ifRoom|collapseActionView"
android:title="Search"/>
</menu>