fun TypedArray.getFontOrThrow(@StyleableRes index: Int): Typeface
Retrieve the font value for the attribute at index or throws IllegalArgumentException if not defined.
See Also
TypedArray.hasValue
TypedArray.getFont