You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've added minWidth and minHeight to remove extra padding on button and then set my own padding.
after the animation end, I set a new text like this :
loadingButton?.revertAnimation { // set text here }
The problem is the width is not set to wrap_content after animation end. (I see only the padding, if i remove the padding, the button disappears after animation)
If I change the width to an exact value (100dp for exemple) everything works fine.
Any fix for this problem?
The text was updated successfully, but these errors were encountered:
Hello,
I have a problem after revert animation when width is wrap_content.
So, my code looks like this
<br.com.simplepass.loadingbutton.customViews.CircularProgressButton android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentEnd="true" android:layout_marginTop="160dp" android:layout_marginEnd="20dp" android:minWidth="0dp" android:minHeight="0dp" android:padding="10dp" .... app:spinning_bar_color="#FFF" app:spinning_bar_padding="6dp" app:spinning_bar_width="4dp" />
I've added minWidth and minHeight to remove extra padding on button and then set my own padding.
after the animation end, I set a new text like this :
loadingButton?.revertAnimation { // set text here }
The problem is the width is not set to wrap_content after animation end. (I see only the padding, if i remove the padding, the button disappears after animation)
If I change the width to an exact value (100dp for exemple) everything works fine.
Any fix for this problem?
The text was updated successfully, but these errors were encountered: