I was wondering if it was possible to retrieve Android's native ProgressBar's indeterminate drawable, so that it can used on another view.
Looking at ProgressBar's source code:
- the default attributes are located at
com.android.internal.R.attr.progressBarStyle, which I believe is the same asandroid.R.attr.progressBarStyle(according to this answer). - the resource id for the drawable I am looking for is
R.styleable.ProgressBar_indeterminateDrawable
However, I have no luck accessing that styleable attribute itself.
Any idea on how to achieve such a thing?