Change Launcher Logo of Application In Android Studio
Icon of android application defines the whole application , after creating the application or before completing the application it is required to change the launcher icon of android application so that it does not show the default android launcher icon .
Here , we are going to discuss about two ways by which we can set the icon our android application. so we are going with our first way to creating our android app icon and then assigning it as an launcher icon for android app .
We can also use our application launcher in splash screen of android application , which creates really great impact at the starting of the application we have one spacial article for creating splash screen in android you can take that as reference to make splash screen to your application .
- Creating splash Screen in android (Example with Source Code)
1# The First way
Steps for Generating App icon are..
Step 1 -> Right Click on Drawable ->New ->Image Asset .
Step 2 -> A New window will Open which show image on right side as shown in the image.
Step 3-> Click on The Image File address to choose your image to change with default logo Or you can Hit Shift+ Enter .
After choosing the icon you can set its layout that how it should be shown .
Step 4-> choose foreground scaling according to your choice and also you can set its Background color, shapes etc.
After this hit Next and Finish . Your default icon is changed with the image or logo that you want .
2# Second Way
The second way to set icon is the most used way , which i think most of the people use .So if we want to use this method then we should have our own designed icon for the app . once we will get the icon then after that we have to follow few simple steps listed below .
1.Copy your icon and past it into the Drawable folder .
2.Go to the Manifest file .
<..> <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="softwoodcoder.com.test"> <uses-permission android:name="android.permission.INTERNET"></uses-permission> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" <-- App icon name changed here android:label="@string/app_name" android:supportsRtl="true" android:theme="@style/AppTheme"> <activity android:name=".button" android:theme="@style/Theme.AppCompat.NoActionBar"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest>
3. Find @mipmap/ic_launcher in menifest file And Replace it with
thats it now run the app , icon of android application is changed .
Use This Video About Changing Launcher icon of App:-
I hope these two ways are sufficient for those who are finding steps to change icon or logo of android applications . For more tips and tricks stay connected with softwoodcoder . And if you will get any difficultie in this , please let us know , “we will happy to help you” .