This provides Castor design tokens (XML configuration) for Android.
Initiate Maven central repositories:
repositories {
mavenCentral()
}
Add as a dependency (replacing x.y.z
to a version required):
dependencies {
compile 'com.onfido.castor.tokens:x.y.z'
}
Then sync and perform a Gradle build.
Color:
android:background="@color/ods_color_background_main"
Dimen:
android:radius="@dimen/ods_border_radius_medium"