title: Dont see action item on action bar
body: <pre><code>import android.app.Activity;
  import android.os.Bundle;
  import android.view.Menu;
  
  public class MainActivity extends Activity {
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
      }
  
      @Override
      public boolean onCreateOptionsMenu(Menu menu) {
          getMenuInflater().inflate(R.menu.menu_main,menu);
          return super.onCreateOptionsMenu(menu);
      }
  }
  
  //This is menu_main.xml
  
  &lt;menu xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      tools:context=".MainActivity"&gt;
  
      &lt;item android:id="@+id/action_create_order"
          android:title="@string/action_create_order"
          android:icon="@drawable/ordericon"
          android:orderInCategory="1"
          app:showAsAction="always"/&gt;
  
      &lt;item android:id="@+id/action_settings"
          android:title="@string/action_settings"
          android:orderInCategory="100"
          app:showAsAction="always" /&gt;
  &lt;/menu&gt;
  </code></pre>