I am doing an android project using Android Studio. My project name is "Policia". I run the project on emulator and it shows another name "LoginActivity". Actually its the launcher activity. How can I solve this??
In your main activity listed in manifest file see the android:label
value
android:label="@string/app_name"
Then see string.xml
file in resource (res
) folder to see the actual String value of app_name
. Change it to whatever you desire.
Main activity will be the one with following intent-filter
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>