fetchWidthAndHeight

open fun fetchWidthAndHeight(params: ViewGroup.LayoutParams, array: TypedArray, widthAttr: Int, heightAttr: Int)

Helper method to be called from setBaseAttributes override that reads layout_width and layout_height attribute values without throwing an exception if they aren't present.