leandroBorgesFerreira / LoadingButtonAndroid

A button to substitute the ProgressDialog
MIT License
1.95k stars 214 forks source link

How can I get this file? #41

Closed Wonderpol closed 6 years ago

Wonderpol commented 6 years ago

@drawable/circular_border_shape

leandroBorgesFerreira commented 6 years ago

Which one?

Wonderpol commented 6 years ago

So, I have already solved this problem but I've got second can I set the gravity of spinning_bar ? after animate he is going to the one of the corners. I want to have the same effect as you on the gif

leandroBorgesFerreira commented 6 years ago

Just set the gravity of the viewgroup containing the button. Like LinearLayout -> Gravity -> Center

Wonderpol commented 6 years ago

It doesn't work I don't know why

Wonderpol commented 6 years ago

Ok I also solved this problem but I have one more problem after btn.revertAnimation(); animation is is stopped but the button don't have the corners radius what's the problem?

leandroBorgesFerreira commented 6 years ago

You must set the final angle desired, you can find a sample in the repository

lmj0011 commented 4 years ago

@Wonderpol

So, I have already solved this problem but I've got second

It would help other people if could post your solution to this. As a note the android:background="@drawable/circular_border_shape" attribute can be omitted or changed to a different color or shape. (eg. android:background="@android:color/darker_gray")

https://github.com/leandroBorgesFerreira/LoadingButtonAndroid/issues/146