daily pastebin goal
11%
SHARE
TWEET

Untitled

a guest May 16th, 2018 103 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @Override
  2. public boolean onCreateOptionsMenu(Menu menu) {
  3.     MenuInflater inflater = getMenuInflater();
  4.     inflater.inflate(R.menu.action_bar_menu, menu);
  5.     return true;
  6. }
  7.  
  8. @Override
  9. public boolean onOptionsItemSelected(MenuItem item) {
  10.     switch (item.getItemId()) {
  11.         case R.id.action_cp:
  12.             return true;
  13.         case R.id.action_settings:
  14.             return true;
  15.         case R.id.action_used_libraries:
  16.             return true;
  17.         case R.id.action_help_and_feedback:
  18.             return true;
  19.         default:
  20.             return super.onOptionsItemSelected(item);
  21.     }
  22. }
RAW Paste Data
Top