public void setUseIntrinsicPadding(boolean useIntrinsicPadding) {
        Drawable drawable = getCurrentDrawable();
        if (drawable instanceof IntrinsicPaddingDrawable) {
            ((IntrinsicPaddingDrawable) drawable).setUseIntrinsicPadding(useIntrinsicPadding);
        }
        Drawable indeterminateDrawable = getIndeterminateDrawable();
        if (indeterminateDrawable instanceof IntrinsicPaddingDrawable) {
            ((IntrinsicPaddingDrawable) indeterminateDrawable)
                    .setUseIntrinsicPadding(useIntrinsicPadding);
        }
    }
public void setUseIntrinsicPadding ( boolean useIntrinsicPadding ) { Drawable drawable = getCurrentDrawable ( ) ; if ( drawable instanceof IntrinsicPaddingDrawable ) { ( ( IntrinsicPaddingDrawable ) drawable ) . setUseIntrinsicPadding ( useIntrinsicPadding ) ; } Drawable indeterminateDrawable = getIndeterminateDrawable ( ) ; if ( indeterminateDrawable instanceof IntrinsicPaddingDrawable ) { ( ( IntrinsicPaddingDrawable ) indeterminateDrawable ) . setUseIntrinsicPadding ( useIntrinsicPadding ) ; } }
Set whether the current drawable should use an intrinsic padding. The default is
{@code true}.

@param useIntrinsicPadding Whether the current drawable should use its intrinsic padding, or
ignored if the progress drawable does not implement
{@link IntrinsicPaddingDrawable}.