how to change icon in my app

  • Replies:2
ezekel
  • Forum posts: 8

Jun 24, 2014, 5:19:29 PM via Website

Hi i am still newbie in android development,i have created an icon for my android app just for a test,now i want to change the default icon ic_launcher.png to my new icon (newicon.png)

under res folder,where should i put my newicon.png?so that if i will install my app in my phone the new icon will be use in my app.
drawable-hdpi
drawable-ldpi
drawable-mdpi
drawable-xhdpi
drawable-xxhdpi

and in the manifest

<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"//here i am confuse which drawable folder is being called.
android:label="@string/app_name">

Thank you in advance.

Reply
Deactivated Account
  • Forum posts: 770

Jun 25, 2014, 4:33:00 AM via Website

ezekel

Hi i am still newbie in android development,i have created an icon for my android app just for a test,now i want to change the default icon ic_launcher.png to my new icon (newicon.png)

under res folder,where should i put my newicon.png?so that if i will install my app in my phone the new icon will be use in my app.
drawable-hdpi
drawable-ldpi
drawable-mdpi
drawable-xhdpi
drawable-xxhdpi

and in the manifest

<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"//here i am confuse which drawable folder is being called.
android:label="@string/app_name">

Thank you in advance.

it depends on the app

low density /drawable-ldpi
medium density /drawable-mdpi
high density /drawable-hdpi
extrehigh desitry /drawable-xhdpi.

open androidmanifest.xml

find this line <application android:icon="@drawable/icon.png"

then add the icon in drawable folder and add the link to @drawable/newicon.png
i hope you will understand

— modified on Jun 25, 2014, 4:40:04 AM

Ready To Help You.

ezekel

Reply
ezekel
  • Forum posts: 8

Jun 26, 2014, 6:21:44 PM via Website

Hi yeah i got it.thanks.

Reply