getThemeConstant

fun getThemeConstant(name: String, type: String = this::class.simpleName ?: ""): Int

Return

a Int from the first matching Theme in the tree that has a Int with the specified name and type. If type is omitted the class name of the current control is used as the type.