create From Attribute
open fun createFromAttribute(@NonNull context: Context, @NonNull attributes: TypedArray, @StyleableRes index: Int): MotionSpec
Inflates an instance of MotionSpec from the animator resource indexed in the given attributes array.