Android style helpers
libraries
folder of your Android Studio projectbuild.gradle
dependency changesdependencies {
compile project(':libraries:garnish')
}
assets
directoryTextView
to com.ovenbits.garnish.FancyTextView
xmlns:ftv="http://schemas.android.com/apk/res-auto"
so you can access the custom attributes<com.ovenbits.garnish.FancyTextView
xmlns:ftv="http://schemas.android.com/apk/res-auto"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
ftv:textFont="custom-font-name.ttf"
android:text="This is in the right font now!"/>