title: Is android:showAsAction deprecated?
body: <p>I have a question about "android:showAsAction". I have a book for Android and in that book (IMO it's not up to date, but most things are valid) they use  </p>
  
  <pre><code>    android:showAsAction
  </code></pre>
  
  <p>To display menu item on action bar (menu is created in Fragment). I'm using the Android Studio. Compile SDK version is set to API 19 (KitKat). I'm firing it on my LG G2, which has Android 4.4 on board.</p>
  
  <p>I'm asking if this is deprecated, because Android Studio tells me:</p>
  
  <pre><code>     Should use app:showAsAction with the appcompat library with xmlns:app="http://schemas.android.com/apk/res-auto" less... (Ctrl+F1) 
       When using the appcompat library, menu resources should refer to the showAsAction in the app: namespace, not the android: namespace.  
       Similarly, when not using the appcompat library, you should be using the android:showAsAction attribute.
  </code></pre>
  
  <p>I assume that appcompat library is the Support library. However I'm not using it at all, because I don't need backward compatibility. </p>
  
  <p>Also, when I will switch to the app:showAsAction and I will add proper app:xmlns, then my action item in my Action Bar is not visible. 
  When I'm switching back to android:showAsAction, then the icon is visible.</p>
  
  <p>I'm wondering what is wrong in my code, should I use app:showAsAction or should I use android:showAsAction ?</p>
  
  <p>Best ragards</p>