Caner Caner - 5 months ago 49
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

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