java android change action_settings text -


is there anyway change action_settings text in run time? possible in strings.xml file want in run time. tried before?

i not sure if on right path, want display time @ location of "settings" text. settings appear on right top corner of application. on title bar. thinking change text of settings label resource, should work.

you can use settitle.

for example

menuitem settings = menu.finditem(r.id.action_settings); settings.settitle("your title"); 

you can call code in onprepareoptionsmenu.

i hope you.


Comments

Popular posts from this blog

double exclamation marks in haskell -

qml - Is it possible to implement SystemTrayIcon functionality in Qt Quick application -

Qt Creator - Searching files with Locator including folder -