sprockets/src/main/java/net/sf/sprockets/app/ui/ProgressBarFragment.java
public static ProgressBarFragment newInstance(@AttrRes int style) {
        ProgressBarFragment frag = new ProgressBarFragment();
        Bundle args = Fragments.arguments(frag);
        args.putInt(STYLE, style);
        return frag;
    }
public static ProgressBarFragment newInstance(@AttrRes int style) {
        ProgressBarFragment frag = new ProgressBarFragment();
        Bundle args = Fragments.arguments(frag);
        args.putInt(STYLE, style);
        return frag;
    }
Create a ProgressBar with the style of the theme attribute.