How to change the text on the action bar

Currently it just displays the name of the application and I want it to display something custom and be different for each screen in my app.

For example: my home screen could say ‘page1’ in the action bar while another activity that the app switches to could have ‘page2’ in that screens action bar.

19 Answers
19

Leave a Comment