Android.widget.SearchView cannot be cast to android.support.v7.widget.SearchView(Not in Action Bar)
<p>When i use a <code>SearchView</code> inside a Layout action bar.Then i got error like:</p>

<pre><code>Caused by: java.lang.ClassCastException: android.widget.SearchView cannot be cast to android.support.v7.widget.SearchView
</code></pre>