@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
super.onCreateOptionsMenu(menu);
menu.add(Menu.NONE, Menu.FIRST + 1, 0, "帮助");
menu.add(Menu.NONE, Menu.FIRST + 2, 0, "关于XCL-Charts");
return true;
}
效果图如下:
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。