City Directory
  • City Directory Document
  • Installation
  • How to Import Project
  • Customize Project
  • API Configuration
  • Admob Configuration
  • OneSignal integration
  • Resource Credits
  • Demo
  • FAQ'S
  • iOS Document
    • Installation
    • How to Import Project
    • Customize Project
    • API Configuration
    • Admob Configuration
    • OneSignal integration
    • Resource Credits
Powered by GitBook
On this page

Customize Project

Project customizing

PreviousHow to Import ProjectNextAPI Configuration

Last updated 7 years ago

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

java

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

res

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";

Contains the file.

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 .

To know more about project structure please go through this link

AndroidManifest.xml
Providing Resources
Android Project Structure
Project Structure