@Override
 public boolean onCreateOptionsMenu(Menu menu) {
   super.onCreateOptionsMenu(menu);
   MenuInflater inflater = getSupportMenuInflater();
   inflater.inflate(R.menu.categories, menu);
   return true;
 }
Exemplo n.º 2
0
 @Override
 public boolean onCreateOptionsMenu(Menu menu) {
   super.onCreateOptionsMenu(menu);
   getSupportMenuInflater().inflate(R.menu.gpxlist_menu, menu);
   return true;
 }