use of android.view.MenuInflater in project android_frameworks_base by DirtyUnicorns.
the class UsageStatsActivity method onCreateOptionsMenu.
@Override
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.main, menu);
return super.onCreateOptionsMenu(menu);
}
use of android.view.MenuInflater in project android_frameworks_base by DirtyUnicorns.
the class NetworkActivity method onCreateOptionsMenu.
// Populates the activity's options menu.
@Override
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.mainmenu, menu);
return true;
}
use of android.view.MenuInflater in project kdeconnect-android by KDE.
the class MousePadActivity method onCreateOptionsMenu.
@Override
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.menu_mousepad, menu);
return true;
}
use of android.view.MenuInflater in project K6nele by Kaljurand.
the class RewritesSelectorActivity method onCreateOptionsMenu.
@Override
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.rewrites_selector, menu);
return true;
}
use of android.view.MenuInflater in project K6nele by Kaljurand.
the class AbstractRecognizerDemoActivity method onCreateOptionsMenu.
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.demo_grammar, menu);
return true;
}
Aggregations