Menu Disappeared After Extending The Activity With BaseActivity
I have following code in all Activity files. I will use same menu for all activities. Here is the code. @Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflate
Solution 1:
Change below line:
public class BaseActivity extends Activity
to below
public class BaseActivity extends AppCompatActivity
I created a simple project likely what you need. Please checkout it here: https://github.com/briannl/OptionMenuExample
Post a Comment for "Menu Disappeared After Extending The Activity With BaseActivity"