Hiding API keys in local.properties Add the API key to your local.properties file: apiKey=<value> Add to the root level of your app-level build.gradle file:
Hexadecimal color code for transparency How to set transparency with hex value ? For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000. Download This sample on Google Play Store