Customize Project

Project customizing

Project Structure

After importing project successfully you will get project structure like below image

Within each Android app module, files are shown in the following groups:

manifest

Contains the AndroidManifest.xml file.

java

Contains the Java source code files, separated by package names, including JUnit test code.

res

Contains all non-code resources, such as XML layouts, UI strings, and bitmap images, divided into corresponding sub-directories. For more information about all possible resource types, see Providing Resources.

To know more about project structure please go through this link Android Project Structure

Change App name

To change project name follow below steps.

App > res > values > strings.xml

 <string name="app_name">Nearby</string>

Change App colors

App > res > values > colors.xml

<color name="colorPrimary">#3F51B5</color><color name="colorPrimaryDark">#303F9F</color><color name="colorAccent">#8b2d4e</color><color name="PrimaryTextColor">#4d5674</color><color name="SecondaryTextColor">#99ABBD</color>

Change App icon

Place your app icon inside mipmap folder -> app\src\main\res\mipmap\

Icon of the name should be "ic_launcher.png"

Change App Package Name

Open App level build.gradle and change ApplicationId variable inside android > defaultConfig

applicationId "com.itechnotion.nearby"

Open Constants class which resides in utils package and change PACKAGE_NAME variable

public static final String PACKAGE_NAME = "com.itechnotion.nearby";

Last updated