use of android.view.MenuInflater in project android_frameworks_base by ParanoidAndroid.
the class BiDiTestActivity method onCreateOptionsMenu.
@Override
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.main_menu, menu);
return true;
}
use of android.view.MenuInflater in project android_frameworks_base by ParanoidAndroid.
the class DirListActivity method onCreateOptionsMenu.
@Override
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.gui_menu, menu);
return true;
}
use of android.view.MenuInflater in project android_frameworks_base by ParanoidAndroid.
the class SimpleModel method onCreateOptionsMenu.
@Override
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.loader_menu, menu);
return true;
}
use of android.view.MenuInflater in project android_frameworks_base by ParanoidAndroid.
the class TrackerActivity method onCreateOptionsMenu.
/**
* Builds the menu
*
* @param menu - menu to add items to
*/
@Override
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater menuInflater = getMenuInflater();
menuInflater.inflate(R.menu.menu, menu);
return true;
}
use of android.view.MenuInflater in project winky by kaze0.
the class MainActivity method onCreateOptionsMenu.
@Override
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.main, menu);
return true;
}
Aggregations