Naming an Application

The <application> tag android:label attribute is a string representing the application name. You can set this name to a fixed string, as in the following example:

<application android:label="My application name">

You can also set the android:label attribute to a string resource. In the Droidl project, you set the application name to the string resource as follows:

<application android:label="@string/app_name">

In this case, the resource string called app_name in the strings.xml file supplies the application name.

Was this article helpful?

0 0

Post a comment