use of android.view.MenuInflater in project android-stackblur by kikoso.
the class MainActivity method onCreateOptionsMenu.
@Override
public boolean onCreateOptionsMenu(Menu menu) {
super.onCreateOptionsMenu(menu);
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.activity_main, menu);
return true;
}
use of android.view.MenuInflater in project android by cSploit.
the class Hijacker method onCreateOptionsMenu.
@Override
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.hijacker, menu);
return super.onCreateOptionsMenu(menu);
}
use of android.view.MenuInflater in project android by cSploit.
the class HijackerWebView method onCreateOptionsMenu.
@Override
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.browser, menu);
return super.onCreateOptionsMenu(menu);
}
use of android.view.MenuInflater in project cw-omnibus by commonsguy.
the class AbstractDragDropDemoActivity method onCreateOptionsMenu.
@Override
public boolean onCreateOptionsMenu(Menu menu) {
new MenuInflater(this).inflate(R.menu.actions, menu);
MenuItem item = menu.findItem(getOwnMenuId());
if (item != null) {
item.setVisible(false);
}
return (super.onCreateOptionsMenu(menu));
}
use of android.view.MenuInflater in project UltimateAndroid by cymcsg.
the class SnackbarRecyclerViewSampleActivity method onCreateOptionsMenu.
@Override
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.snack_bar_recyclerview_sample, menu);
return true;
}
Aggregations