How to change your android icon and apps name in Android Resources folder

This is a tutorial 2 on how to create your own android application series.  If you have not read the first article on how to create your first android application, follow this link. In this tutorial we will learn how to change your android icon and application names.
NewImage
When you create your first hello world android application, android studio will automatically create a series of files and folder.Android studio will create a resources folder that will store  static content that your code uses, such as bitmaps, colors, layout definitions, user interface strings, animation instructions, and more.


NewImage


Drawable folder store Image files like .png, .jpg, .gif or XML files that are compiled into bitmaps, state lists, shapes, animation drawable. This is where you store Android Icon prior to Android 4.3. Since Android 4.3 we can now make use of the res/mipmap folders to store "mipmap" images.

NewImage
Mipmap folder is where you store your anroid icon. You can edit the ic_launcher.png and edit the files with your own icon.
Using a mipmap as the source for your bitmap or drawable is a simple way to provide a quality image and various image scales, which can be particularly useful if you expect your image to be scaled during an animation.
NewImage
You need to change the ic_launcher.png in mipmap-hdpi , mipmap-mdli and mipmap-xxhdpi .

Layout folder store XML files that define a user interface layout. T

NewImage

Values folder is where simple values, such as strings, integers, and colors are store. Here we can open the string.xml and edit the app_name value to our application names.
NewImage

1 comment:

  1. I learn some new stuff from it too, thanks for sharing your information. Folder Lock For COMPUTER Zedge - Don't Spend time Seeking, Study Exactly Regarding PC Desktops Here how to encrypte folder with folder lock

    ReplyDelete