Caner Caner - 1 year ago 88
Android Question

How can I set the title programatically

How can I set the title(by title I mean the text shown below battery & time, in this example that would be "Menu Sample") programatically? I found many examples using manifest file but none from code.

Answer Source

Activity.setTitle() - setTitle("My New Awesome Title!");

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download