lsjwzh / MaterialLoadingProgressBar

MaterialLoadingProgressBar provide a styled ProgressBar which looks like SwipeRefreshLayout's loading indicator(support-v4 v21+)
Apache License 2.0
1.09k stars 218 forks source link

Rotation animation not shown in Fragment #11

Closed rahil2952 closed 9 years ago

rahil2952 commented 9 years ago

When I used this example inside fragment it is not showing up rotation animation instead it will display only white background circle.

michaelgobbers commented 8 years ago

I don't know why this was closed but I can also confirm this issue. I included this in an listitem in a recyclerview inside a fragment:

code:

<com.lsjwzh.widget.materialloadingprogressbar.CircleProgressBar
            local:mlpb_show_arrow="false"
            local:mlpb_enable_circle_background="false"
            local:mlpb_progress_stoke_width="5dp"
            local:mlpb_progress_color="@color/primary"
            local:mlpb_progress_text_visibility="invisible"
            android:layout_gravity="center"
            android:layout_width="50dp"
            android:layout_height="50dp"/>

If I set the background enabled then I can confirm that I can only see the background circle.