我的SearchView位于布局(LineaLayout/RelativeLayout)不在操作栏中.如何更改文本颜色.默认颜色是白色如何更改文本颜色?
当我SearchView在Layout动作栏内使用时,然后出现如下错误:
Caused by: java.lang.ClassCastException: android.widget.SearchView cannot be cast to android.support.v7.widget.SearchView
Run Code Online (Sandbox Code Playgroud) android ×2