Please carefully read this guide in order to fully configure this template, and remember to test it on a Real Device – the Emulator may fail.

Quick Start

You may just run this app on your own device via Android Studio and play with it, it will work.
Anyway you need to customize this app into your own version, so just keep reading this guide.


Android Studio

This template has native Android Java/XML code so you can edit it only with Android Studio. If you don’t have it, download it for free.

Download Android Studio
PLEASE NOTE that you’ll need the latest official version of Android Studio, NO BETAS, because Betas are always buggy and never work properly.
Please make sure you have installed the following SDK Tools:

Change App Name

Enter the string.xml file – it’s into the res/values folder in Android Studio – and replace the App Name of this line with your new one:
 <string> string name="app_name"> TranslateIt </string>

Change the Package Name

  • In the Project panel on the left side, click on the little gear icon.
  • Uncheck the Compact Empty Middle Packages option.
  • Your package directory will get separated into single directories, I'd suggest you to leave the com folder as it is and rename the other ones.
    So, for each directory you want to rename:
    • Right-click on it
    • Select Refactor -> Rename...
    • Click Rename Package in the popup
    • Enter a new name in the text field and click Refactor
    • Click Do Refractor in the Refactoring Preview tab on the bottom
    • Android Studio will update the changes, it may take a few seconds, just wait for the process to be done.

Next, open build.gradle (the Module app one) in Android Studio and rename the applicationId into your new package name, then click Sync Now on the top-right corner.

Reskin the UI design of the app

This project contains .xml files stored into the res/layout folder. Those files are the ones where you can edit all Views, Buttons texts, TextView’s strings, and all Views attributes – position, font color, size, etc.

Alert messages are located in the code, they can be edited only in the .java files.

All images are stored in the drawable folders, where the app icons are stored into the mipmap folders.


• The strings.xml file

You can find this file into the res/values folder in Android Studio. Open this file and keep reading this guide, you’ll have to perform some edits in this file in order to get your template ready to run.

App Name

Replace the following name with the new one you want to give to this app in this line:
 <string> string name="app_name"> TranslateIt </string>

AdMob Ads

Replace the values of these variables with your own Interstitial Unit ID and App ID strings.
You have to create your Unit ID at
Follow the instructions on the AdMob’s website in case you don’t know how to generate an AdMob Unit ID.

Custom Colors

You can edit the HEX values of the following variables as you wish:
 public static String MAIN_COLOR =  "#8344af";

PLEASE NOTE that not all views will be affected by changing the HEX values above, you may still need to go through some XML file and adjust the colors on your own with the right-side Attributes panel.

Google Translate API Key

You must obtain your own Google Translate API Key from the Google Cloud Platform website, and replace the string of the variable below with your own one:
 public static String GOOGLE_TRANSLATION_API_KEY = "AIzaSyDby9oQjWarxP9EGwA8q7NGD5-94xmAkj";
Follow these steps to generate a Key and enable the Cloud Translate API (you must have an active Google Billing account with your credit card registered in it, and a created Cloud Platform’s Project):
  • 1 – Log in into your Google account and go here:
  • 2 – Click the ENABLE APIS AND SERVICES button:
  • 3 – Type “google translate” in the search box and select the Cloud Translation API box:
  • 4 – Select the Neural Translation Model On line Predictions In Translatio V3 option, then click the MANAGE button:
  • 5 – In the Cloud Translation API page – the one with the Overview tab – click the ENABLE API button, then click Credentials from the left menu:
  • 6 – Click the Copy button next to the new generated Translation API Key, and use the copied string to replace the GOOGLE_TRANSLATION_API_KEY one in
  • Done, you’re all set to allow the app to translate text!

List of Supported Languages

The following array is a list of all those languages that the Google Translate API can handle:
 public static String[] languagesArray = {
    "zh__Chinese (Simplified)",
    "zh-TW__Chinese (Traditional)",
    "ht__Haitian Creole",
    "ku__Kurdish (Kurmanji)",
    "my__Myanmar (Burmese)",
    "gd__Scots Gaelic",
You may remove some languages from that array, if you want to, but you are NOT allowed to add any custom language code or name. Anyway, I suggest you to just leave that array as it is.

Utility Functions

Unless you are familiar with Android programming, you should leave the code of this section as it is since it includes useful functions to show alerts and perform other things in the app.


If I buy this app template, can I use for multiple projects?

No, only 1 app/purchase.
In case you want to publish more than 1 application using this template, you must purchase a License for each project you want to publish on the App/Play Store, either the Regular ot the Extended one

What kind of support is offered?

Free support is offered in case of bugs encountered in the original template, either in the code or the UI design.
In case you have edited the code – and so created bugs because of your editing – I may apply some fee to fix your bugs by a remote connection through AnyDesk, or by you sending me your source code for verification.

Should I use Android Studio to edit this template?

Yes, you must always use the latest stable official version of Android Studio to edit this application – NO Betas, they don’t work properly!
Download Android Studio

I’ve performed all configurations mentioned in this Guide, but something is wrong. What should I do?

  • Double-check all your configurations, probably you have missed something
  • Always check the Logcat in Android Studio if the app crashes, usually the error messages are shown in red color
The Logcat helps you to debug your app, it’s really important!

How do I remove AdMob ads?

It’s super easy, just open the Find in Path tool in Android Studio by clicking Edit -> Find -> Find in Path, and search for:
The Find in Path window will show you a list of files where that string is located.
Just comment out (or delete) the following line of code in each file and the app will not show AdMob ads on next run:


PLEASE NOTE: I can offer FREE support for bugs/errors encontered in the original code.

Email me through my Profile's Contact Form on Envato