SearchView getActionView returning null

I had the same problem because in my menu I used:
android:actionViewClass="android.widget.SearchView"
as per the google documentation.

Well it turns out that if I’m using AppCompatActivity I should use
app:actionViewClass="android.widget.SearchView"
instead.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)