How to change the title of an Android Activity shown in the Action Bar? [Solution]

To change the Title of an Action Bar which is basically the title of an activity:
changing the title of action bar or activity 1

  • Open the AndroidManifest.xml file and edit the label of an activity as shown:
    changing the title of action bar or activity 2

That’s it!!!
I hope it was helpful.
If you have any query or doubt leave them in the comments section down below.

PhD researcher at Friedrich-Schiller University Jena, Germany. I'm a physicist specializing in theoretical, computational and experimental condensed matter physics. I like to develop Physics related apps and softwares from time to time. Can code in most of the popular languages. Like to share my knowledge in Physics and applications using this Blog and a YouTube channel.



Leave a Reply

Your email address will not be published. Required fields are marked *