Creating a Custom Skillz SDK Theme For an Android Game

Overview

To apply a custom theme to your android game, you will configure and then download a custom_theme.json file which you will place it in the “assets” directory of your game’s Android Studio project. Detailed instructions are provided below.

 

Step 1

After configuring your custom theme in Developer Portal and pressing "Save to Sandbox", press the “Email Assets” button (shown below) to receive a download link of your Android JSON file, aptly named custom_theme.json:

Screen_Shot_2017-11-09_at_11.57.03_AM.png

 

Step 2

Create an assets folder in Android Studio if your project does not already have one:

Screen_Shot_2017-06-26_at_3.17.30_PM.png

 

Then press the FINISH button on the subsequent dialog that appears:

Screen_Shot_2017-06-26_at_3.17.45_PM.png

 

Step 3

Now select the assets folder you just created in your project’s Android view, and right click it to bring up a contextual menu:

Screen_Shot_2017-06-26_at_3.17.59_PM.png

 

Choose “Reveal in Finder” (or “Reveal in Explorer” on Windows). This will open the corresponding assets folder on your hard drive. 

Now locate the custom_theme.json file that you downloaded and drag it into the assets folder on your hard  drive:

Screen_Shot_2017-06-26_at_3.18.15_PM.png

 

Step 4

Finally, confirm that the custom_theme.json file has now been added to your Android Studio project:

Screen_Shot_2017-06-26_at_3.18.29_PM.png

 

If the custom_theme.json file appears in the project as shown above, then you have successfully applied your custom Skillz theme to your Android game!