Skip to content Skip to sidebar Skip to footer

Android: Programmatically Change The Application Label?

It doesn't seem possible, but I was hoping someone may be aware of a way. Can the label of the application (the one defined in the manifest file by android:label='@string/app_n

Solution 1:

That is read-only, AFAIK.

If your objective is to change the title bar of your activities, you can call setTitle().

Solution 2:

I mostly use this to change actionBar's text pragmatically in onCreate() method....very easy!

getSupportActionBar().setTitle("yourString");

Solution 3:

I used:

this.setTitle("YourString");

Post a Comment for "Android: Programmatically Change The Application Label?"