michaelsmith
michaelsmith

Reputation: 1051

Android app name on device

I thought that

android:label="@string/app_name"

in <application> was needed to have the appname displayed on the device below the icon. But all I get is blanks below the icon. What am I missing?

Upvotes: 0

Views: 359

Answers (2)

Nagaraju V
Nagaraju V

Reputation: 2757

In strings.xml app_name value may be empty or

you have to declare

android:label="@string/app_name"

in activity tag also

Upvotes: 2

programmer23
programmer23

Reputation: 543

You should use this feature in each Activity tag in your manifest.

Example:

<activity
        android:name="com.packagename.myActivity"
        android:label="@string/app_name" >
    </activity>

Upvotes: 3

Related Questions