Android: TabActivity, Creating Menu
- by Waqas
Hi, i have created 3 tabs using the TabActivity. The class declaration is like this.
public class ABTM extends TabActivity {
........ some code ..........
}
now i want to create a Menu with three menu items. but the problem is that the
**@Override public boolean OnCreateOptionsMenu(Menu menu){
}**
gives error. It says that i should remove the @Override. When i remove the @Override the error is gone and the application runs fine but pressing the menu button does nothing.
What am i doing wrong here?