bicx
05/23/2017, 12:07 PMfun <T : Activity> AnkoComponent<T>.setCustomContentView(activity: T) {
val view = createView(AnkoContextImpl(activity, activity, true))
view.childrenRecursiveSequence().forEach {
if (it is TextView) {
it.typeface = Typeface.DEFAULT_BOLD
}
}
}
But that’s not necessarily a catch-all, and not really any too much different than the other options.