Alternatively, you could do something this instead...
# anko
b
Alternatively, you could do something this instead of calling the standard `setContentView(..)`:
Copy code
fun <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.