124 Lab: Action Bar What we did: replace default action bar with custom (menu) default in 'R.menu.menu_sourcecode' <menu xmlns:android= http://schemas.android.com/apk/res/android //menu_sourcecode.xml xmlns:app= http://schemas.android.com/apk/res-auto xmlns:tools= http://schemas.android.com/tools tools:context= .Sourcecode > <item android:id= @+id/action_settings android:title= @string/action_settings android:orderInCategory= 100 app:showAsAction= never /> @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present.
{}