I am trying to add an option menu in actionbar to my existing app but it is not working. If I create a new project with \"hello world\" default app I can see the button in a
In my case
Action bar menu was not visible
when used
public class MainActivity extends Activity {
}
but was visible when used
public class MainActivity extends ActionBarActivity{
}