3

I am new to android programming.I have started building an app using eclipse.In the layout file the app icon and App name comes there by default. How do I change it. A relative layout is there by default. Whatever I add say--image view textview get added below the main title bar. How do I change this?

Vini.g.fer
  • 10,633
  • 14
  • 51
  • 78
Ciff
  • 546
  • 2
  • 8
  • 21
  • 1
    You need to read a bit on the basics of Android Development. Kindly check on the API demos and some tutorials on web. – PravinCG Nov 07 '12 at 15:26
  • you can change app name is manifest file, app logo can be replaced using create new icon set or replacing the current icon in the drawabe folder – Tobrun Nov 07 '12 at 15:27
  • You cannot change the manifest or the resource in the signed-and-sealed APK, except through a software upgrade.android:icon="@drawable/icon".Change the icon .http://stackoverflow.com/questions/5443304/how-to-change-an-android-apps-name. Have a look at the link. – Raghunandan Nov 07 '12 at 15:34

4 Answers4

10

Links to app name and icon are placed in the AndroidManifest.xml inside the application tag. String resources, like @string/app_name, are placed inside the strings.xml file in the res/values directory. Drawable resources, like @drawable/ic_launcher, are inside the res/drawable set of directories. Good luck!

Egor
  • 37,239
  • 10
  • 109
  • 127
6

try This

For Logo android:icon="@drawable/icon"

For Application Name android:label="@string/app_name"

1

As already pointed out by Egor, you must change the appropriate string in your strings.xml. Typically, the key name in the strings.xml is by default app_name. Change this to whatever you wish to change your App's name to.

For your App's icon, I would recommend using this website to create the appropriate resources: http://android-ui-utils.googlecode.com/hg/asset-studio/dist/icons-launcher.html. This saves the trouble of creating different size resources. It gives you all of them in on go. Once you have downloaded the new set of icons, just replace the old set of icons with the new set. Take care of the name though. Again, typically, the app icon has the name ic_launcher.

Siddharth Lele
  • 26,905
  • 15
  • 91
  • 144
0

Simply U have to change in Androidmanifest File in application tag which include property like For change logo use android:icon="@drawable/icon" property and change drawable image as per your requirement and for change application name use android:label="@string/app_name" property and write at string.xml file in app_name label put appropriate name for that.

Harshal Kalavadiya
  • 2,215
  • 4
  • 30
  • 62