-
Notifications
You must be signed in to change notification settings - Fork 545
Quentin DOMMERC edited this page May 21, 2014
·
2 revisions
XML attributes
<!--normal state button color-->
custom:colorNormal
<!--pressed state button color-->
custom:colorPressed
XML attributes
<!--normal state button color-->
custom:colorNormal
<!--pressed state button color-->
custom:colorPressed
<!--background color which will be displayed when loading is complete-->
custom:colorComplete
<!--text which will be displayed when loading is complete-->
custom:textComplete
<!--loading color indicator-->
custom:colorProgress
<!--text which will be displayed when loading is in progress-->
custom:textProgress
Methods
// set progress 0-100
public void setProgress(int progress)
// return true if loading complete
public boolean isLoadingComplete()
public void setProgressDrawable(GradientDrawable progressDrawable)
public void setCompleteDrawable(GradientDrawable completeDrawable)
public void setLoadingText(CharSequence loadingText)
public void setCompleteText(CharSequence completeText)