Item with app:showAsAction not showing
问题 I can\'t understand why wrong and incompatible (AndroidStudio tells me \"Should use app:showAsAction with the appcompat library) code <menu xmlns:android=\"http://schemas.android.com/apk/res/android\" > <item android:id=\"@+id/action_search\" android:title=\"@string/action_search\" android:icon=\"@drawable/search\" android:showAsAction=\"always\" /> </menu> works perfect, but proper and compatible version like <menu xmlns:android=\"http://schemas.android.com/apk/res/android\" xmlns:app=\"http