List of usage examples for android.view MenuInflater inflate
public void inflate(@MenuRes int menuRes, Menu menu)
From source file:com.springsource.greenhouse.twitter.TweetsListActivity.java
@Override public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater = getMenuInflater(); inflater.inflate(R.menu.tweets_menu, menu); return true;//from ww w.j a v a2 s. c o m }
From source file:cl.monsoon.s1next.view.fragment.HelpFragment.java
@Override public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { inflater.inflate(R.menu.activity_help, menu); }
From source file:net.kourlas.voipms_sms.activities.EditDatabaseActivity.java
@Override public boolean onCreateOptionsMenu(final Menu menu) { MenuInflater inflater = getMenuInflater(); inflater.inflate(R.menu.edit_database, menu); return super.onCreateOptionsMenu(menu); }
From source file:at.bitfire.davdroid.mirakel.syncadapter.LoginURLFragment.java
@Override public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { inflater.inflate(R.menu.only_next, menu); }
From source file:com.pureexe.calinoius.environment.camera.fragment.MainFragment.java
@Override public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { inflater.inflate(R.menu.main, menu); super.onCreateOptionsMenu(menu, inflater); }
From source file:edu.asu.msse.dssoni.moviedescrpitionapp.AddActivity.java
@Override public boolean onCreateOptionsMenu(Menu menu) { android.util.Log.d(this.getClass().getSimpleName(), "called onCreateOptionsMenu()"); MenuInflater inflater = getMenuInflater(); inflater.inflate(R.menu.menu_main, menu); return super.onCreateOptionsMenu(menu); }
From source file:com.alexstyl.touchcontrol.ui.activity.MainActivity.java
@Override public boolean onCreateOptionsMenu(Menu menu) { MenuInflater a = getMenuInflater(); a.inflate(R.menu.menu_about, menu); return super.onCreateOptionsMenu(menu); }
From source file:com.android.cts.uiautomator.Test2DetailFragment.java
@Override public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { inflater.inflate(R.menu.test2_detail_activity, menu); }
From source file:at.bitfire.davdroid.mirakel.syncadapter.EnterCredentialsFragment.java
@Override public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { inflater.inflate(R.menu.enter_credentials, menu); }
From source file:de.geeksfactory.opacclient.frontend.InfoFragment.java
@Override public void onCreateOptionsMenu(android.view.Menu menu, MenuInflater inflater) { inflater.inflate(R.menu.activity_info, menu); super.onCreateOptionsMenu(menu, inflater); }