How to show Android app name on ActionBar of each Activity? -


i'm working right on first great app! tm-s is, want have hello world each activity. possible?

enter image description here

not sure if that's you're asking, use attribute

android:label="@string/app_name" 

for each activity , application tag of androidmanifest.xml. , in res/values/strings.xml need attribute:

<string name="hello_world">hello world!</string> 

Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -