List of usage examples for android.view MenuInflater inflate
public void inflate(@MenuRes int menuRes, Menu menu)
From source file:org.planetmono.dcuploader.ActivityGalleryChooser.java
@Override public boolean onCreateOptionsMenu(Menu menu) { MenuInflater mi = getMenuInflater(); mi.inflate(R.menu.gallery_chooser, menu); return true;/*w w w . j a v a 2 s. c o m*/ }
From source file:com.starwood.anglerslong.LicenseActivity.java
/********************************************************* * Creates the action bar menu/*ww w . j a v a2 s. c o m*/ *********************************************************/ public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater = getMenuInflater(); inflater.inflate(R.menu.menu_license, menu); return super.onCreateOptionsMenu(menu); }
From source file:ch.gianulli.flashcards.ListsFragment.java
@Override public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { super.onCreateOptionsMenu(menu, inflater); inflater.inflate(R.menu.menu_lists, menu); }
From source file:net.reichholf.dreamdroid.fragment.TimerListFragment.java
@Override public void createOptionsMenu(Menu menu, MenuInflater inflater) { checkMenuReload(menu, inflater); inflater.inflate(R.menu.timerlist, menu); }
From source file:com.kircherelectronics.accelerationexplorer.activity.NoiseActivity.java
@Override public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater = getMenuInflater(); inflater.inflate(R.menu.menu_noise, menu); return true;//from w ww . j a v a2s .c o m }
From source file:anakiou.com.picontrol.ui.fragments.InputsFragment.java
@Override public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { super.onCreateOptionsMenu(menu, inflater); inflater.inflate(R.menu.menu_settings, menu); }
From source file:com.example.abrahamrequena.sunshine.ForecastFragment.java
@Override public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { inflater.inflate(R.menu.forecastfragment, menu); }
From source file:net.networksaremadeofstring.rhybudd.DeviceList.java
public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater = getMenuInflater(); inflater.inflate(R.menu.devices, menu); return true;// w ww . j a v a2 s . c o m }
From source file:com.example.android.sunshine.fragments.ForecastFragment.java
@Override public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { inflater.inflate(R.menu.menu_fragment_forecast, menu); }
From source file:com.scooter1556.sms.android.fragment.AudioDirectoryFragment.java
@Override public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { inflater.inflate(R.menu.menu_directory_audio, menu); }