<?xml version="1.0" encoding="utf-8"?>

<menu xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:id="@+id/menu_add"
          android:icon="@android:drawable/ic_menu_add"
          android:title="@string/menu_add"
          android:showAsAction="always"/>
</menu>
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:g3m="http://schemas.android.com/apk/res-auto">
    <item android:id="@+id/menu_add"
          android:icon="@android:drawable/ic_menu_add"
          android:title="@string/menu_add"
          g3m:showAsAction="ifRoom"/>
</menu>
Use custom namespace for showAsAction to be compatible with actionbar compat
Use custom namespace for showAsAction to be compatible with actionbar compat
