Points To Remember
Android saves the Application level Settings like App Icon, App Label etc in the AndroidManifest.xml file.Add your icon image as icon.png in the drawable folder.
How to change application icon
Your Application structure looks like the following.
- Add the icon.png folder in the drawable folder
- Open the Application > manifests > AndroidManifests.xml file
- Add
android:icon="@drawable/icon"
in the application root.
Your AndroidManifests.xml file should look like following
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.ekiras.activity" >
<application
android:allowBackup="true"
android:icon="@drawable/icon"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
// Your activities are declared here
<activity></activity>
</application>
</manifest>
After this you will be able to see the icon image as the application icon.
Comments
Post a Comment