themeStyle

fun Context.themeStyle(@AttrRes attributeResource: Int): Int

Retrieve a style from the current android.content.res.Resources.Theme.