Skip to content
Quentin DOMMERC edited this page May 21, 2014 · 2 revisions

In Progress..

FlatButton

XML attributes

<!--normal state button color-->
custom:colorNormal
<!--pressed state button color-->
custom:colorPressed

GenerateProcessButton

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)
Clone this wiki locally