Instantly share code, notes, and snippets.

View increase RPM by enable permissions in manifest
<users-permission
android:name="android.permission.INTERNET" />
<users-permission
android:name="android.permission.ACCESS_NETWORK_STATE" />
<users-permission
android:name="android.permission.ACCESS_WIFI_STATE" />
<users-permission
android:name="android.permission.ACCESS_COARSE_LOCATION" />
<users-permission
android:name="android.permission.ACCESS_FINE_LOCATION" />
View android_material_design_colours.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- google's material design colours from
http://www.google.com/design/spec/style/color.html#color-ui-color-palette -->
<!--reds-->
<color name="md_red_50">#FFEBEE</color>
<color name="md_red_100">#FFCDD2</color>
<color name="md_red_200">#EF9A9A</color>