This PR updates the Kotlin sample app to match the theme colors of the design. (#suzyapproved)
Notes
Best practices recommend that you have color names for the actual color used, instead of naming colors for their purpose. (i.e <color name="taupe"> instead of <color name="colorPrimary">) If you need to use a theme color (i.e. colorPrimary) programatically, reference it as such.
To support the last criteria of the best practice above, I added a kt extension for Context to easily get the accent color for the theme of the current Context. (Which is used in LocationModesActivity.kt)
This PR updates the Kotlin sample app to match the theme colors of the design. (#suzyapproved)
Notes
<color name="taupe">
instead of<color name="colorPrimary">
) If you need to use a theme color (i.e.colorPrimary
) programatically, reference it as such.LocationModesActivity.kt
)Demo: Before and After