android - How to edit the list in the right up corner that contains settings? -
i tried @override public boolean oncreateoptionsmenu(menu menu) { log.v( this.getclass().getname() + "!!!", new exception().getstacktrace()[0].getmethodname() ); menuitem m_item = (menuitem)menu.finditem(r.id.action_settings); if(m_item != null) m_item.settitle("back test"); // inflate menu; adds items action bar if present. getmenuinflater().inflate(r.menu.settings, menu); return true; } but gets null.and also,oncreate seems have null well. there function can modify text on during runtime??? , if so, there easy way find it? you should add items in menu xml. can find on folder res/menu . there have menus available inflation. i suppose have one. how added options: <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="htt