android-process-button
android-process-button copied to clipboard
The text don't change
Hi,
I make an android application and I use your process button for the sign up / sign in. When I push the button, the animation start and the color change. But the text don't change, I have always my basic text that I defined in the layout. However, I set all custom text in the layout :
<com.dd.processbutton.iml.ActionProcessButton android:id="@+id/btnSignIn" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="16dp" android:text="Sign_in" android:textColor="@android:color/white" android:textSize="18sp" custom:pb_colorComplete="@color/green_complete" custom:pb_colorNormal="@color/blue_normal" custom:pb_colorPressed="@color/blue_pressed" custom:pb_colorProgress="@color/purple_progress" custom:pb_textComplete="Success" custom:pb_textProgress="Loading" custom:pb_textError="Error" custom:pb_colorError="@color/red_error" />
In this example, I should have the text "Loading" when I push the button, but it doesn't work.
Do you have any ideas about this ?
Thank you