setIndeterminateDrawable

open override fun setIndeterminateDrawable(d: Drawable?)

ProgressBar is not setting the right bounds on the drawable passed to ProgressBar.setIndeterminateDrawable. Overriding the method and setting the bounds before passing the drawable in solves the issue.