@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
- getMenuInflater().inflate(R.menu.latest_transactions, menu);
+ //getMenuInflater().inflate(R.menu.latest_transactions, menu);
return true;
}
int id = item.getItemId();
//noinspection SimplifiableIfStatement
- if (id == R.id.action_settings) {
- return true;
- }
+ //if (id == R.id.action_settings) {
+ // return true;
+ // }
return super.onOptionsItemSelected(item);
}
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<menu xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto">
- <item
- android:id="@+id/action_settings"
- android:icon="@drawable/ic_menu_manage"
- android:orderInCategory="100"
- android:title="@string/action_settings"
- app:showAsAction="never" />
-</menu>