Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Activity label appears on home screen instead of app name

Tags:

android

In AndroidManifest.xml, the application tag has:

android:label="@string/app_name"

and app_name in res/values/strings.xml reads "My App".

But after running or debugging on both the emulator and an attached device, the app icon on the home screen displays the main activity's label instead of the app label. Is this expected behavior, and if not why might it be happening?

like image 374
David Gassner Avatar asked Oct 17 '12 17:10

David Gassner


1 Answers

Yes it is Expected behavior. The app name will be seen in the applications tab in settings. The main screen displays the launcher activity's label.

like image 97
Eddy K Avatar answered Oct 23 '22 14:10

Eddy K