https://kotlinlang.org logo
#anko
Title
r

ribesg

04/25/2016, 2:04 PM
Yeah looks nice. I ended up trying with the context theme wrapper, nothing works, I'll just drop XML themes. Anko just lacks some extension. For example I just made this one
Copy code
var Toolbar.titleColorResource: Int
    get() = throw AnkoException("'android.support.v7.widget.Toolbar.titleColorResource' property does not have a getter")
    set(@ColorRes v) = setTitleTextColor(@Suppress("DEPRECATION")resources.getColor(v))