@Dimension fun TypedArray.getDimensionPixelOffsetOrThrow(@StyleableRes index: Int): Int
Retrieve the dimension pixel offset value for the attribute at index or throws IllegalArgumentException if not defined.
See Also
TypedArray.hasValue
TypedArray.getDimensionPixelOffset