How to change the icon of an Android app in Eclipse? - android

I am developing an app using Eclipse IDE Juno and Android SDK.
How do I change my app's icon?

Go into your AndroidManifest.xml file
Click on the Application Tab
Find the Text Box Labelled "Icon"
Then click the "Browse" button at the end of the text box
Click the Button Labelled: "Create New Icon..."
Create your icon
Click Finish
Click "Yes to All" if you already have the icon set to something
else.
Enjoy using a gui rather then messing with an image editor!

In your AndroidManifest.xml file
<application
android:name="ApplicationClass"
android:icon="#drawable/ic_launcher" <--------
android:label="#string/app_name"
android:theme="#style/AppTheme" >

Icon creation wizard
Select your project
Ctrl+n
Android Icon Set

Look for this on your Manifest.xml android:icon="#drawable/ic_launcher" then change the ic_launcher to the name of your icon which is on your #drawable folder.

You can find an easy guide here
The step are 2:
- Copy the icon in the correct folder/folders
- Change the AndroidManifest.xml

Rob R.'s answer was definitely the way to go. I tried copying the ic_launcher.png files from another project and Eclipse still wouldn't read them. Going through the manifest is much quicker and easier.

Related

Android Studio app icon

(I've updated the post)
Here's how I have my proyect:
Manifest:
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:roundIcon="#mipmap/ic_launcher_round"
android:label="#string/app_name"
Mipmap:
Created by New > Image Asset
I selected Launcher Icons (Adaptative and Legacy)
Icons
Also, when I open any of them I see the icon I want:
Icon
Now, the launcher icon works just fine:
Launcher Icon
The problem I'm having is that it does not want to update the icon that is displayed when I'm going to select another app.
Problem
you have to update both property of application tag in manifest file.
android:icon="#mipmap/ic_launcher" <-- Change this one
android:roundIcon="#mipmap/ic_launcher_round" //<-- and this one
or you can remove
android:roundIcon="#mipmap/ic_launcher_round" //<-- and this one
ensure you have place all mipmap/drawable in correct place and for all dpi.
reach me if you have still problems.
Go to your app folder and go under drawable. Right Click -> New -> Image Asset.
From there you can select what kind of image you want for the different options given.
I think it is a common cache issue. Sometimes when you run the app from Android studio or in debug mode you will have this droid icon.
When you stop and don't reinstall the app, droid icon is still there for futures launches... You have to clear the cache to get back your icon.
I search a correct answer for days because this is very stange and still not fixed...
Hope this will help !

Strange App Icon behaviour

I have replaced the standard android studio app icon (ic_launcher) with my own(one for each dimension in the mipmap folders) and deleted the ic_launcher round icons since i won't be using round icons on my app. The problem is that although the icons show up correctly in the res->mipmap->ic_launcher folder, when i install the app on my phone the app's icon is the default one and not the one i chose. Also, if you go into tje phone's app info, the app's icon shows up correctly. I have no clue on why this is happening. Any idea?
Go to manifest and look for roundicon and dont forget to change there.
Go to manifest and replace default icon name with yours here:
android:icon="#mipmap/ic_launcher"
android:roundIcon="#mipmap/ic_launcher_round"

How to create my own icon in android launcher

I have my own application. And I need to make a function in my app, which will create my own icon in android launcher to some activity in this application. How can I do it? Thanks for your help.
P.S. I don't need to EDIT my current icon, I need to CREATE NEW icon with some params to my app (like intent), icon should have my own picture and text.
It's should work like chrome function "Add to home screen" which can add a website to your launcher.
you can change app icon in manifest
android:icon="#drawable/your_icon_image"
Add your icon to mipmap folder, then inside your manifest add this value inside application tag :
<application
...
android:icon="#mipmap/ic_launcher"
tools:replace="android:icon">
Also it's not recomanded to put it inside drawable folder, make sure it's inside mipmap folder.

How can I change logo from phonegap build

I created app from phonegap desktop. How can I change its default logo for android and windows.
Screen at build.phonegap.com says
Your application's details are bound to the config.xml file in your application package. To edit these details, change that file and push it back up to us.
you can see brief info about my problem.
http://community.phonegap.com/nitobi/topics/how-can-i-change-logo-of-my-app-it-showing-default-icon
Maybe you can try to build your project and then go to YourApp/platforms/android
and there you can see the AndroidManifest.xml. Inside the file there is a line:
<application android:hardwareAccelerated="true" android:icon="#drawable/icon" android:label="#string/app_name" android:supportsRtl="true">
As you can see the icons are in drawable/icon, so you have to go to res/drawable and you just have to change the icon.png.
Then you have to rebuild your app so the changes take place.
Note: there are different drawable folder inside the res folder, you can change all off them if you want. Some of them are the splash screen.
Let me know if that works :)

Android application's ic_launcher is not working

i have a application can't show ic_launcher. before asking question,i do like those:
1. In my AndroidManifest.xml like this
<application android:icon="#drawable/ic_launcher" ...>
...
</application>
there's a pic called ic_launcher in folder drawable.
but in launcher application's icon always can't show ic_launcher.
my android device can show xxhdpi source. so i remove ic_launcher to folder xxhdpi, it can work fine. i want to know why.
please help,thank you .
First Clean and build again your project. If you still facing same issue and if you are using Eclipse IDE then press "ctrl+space" after you typed android:icon="#drawable/ . All available image resource should come as a list. Then you choose appropriate icon for your application and re-run your application.

Categories

Resources