public class TutorialBuilder
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected long |
mAnimationDuration
Holds the animation duration that will be used to animate the tutorial in and out.
|
protected AbstractTutorialView.AnimationType |
mAnimationType
Holds the animation type value that will be preformed on opening and closing the tutorial.
|
protected int |
mTutorialInfoLayoutId
The layout id that will be used to inflate the tutorial info view.
|
protected int |
mTutorialTextColor
Holds the color for the default info view text view.
|
protected int |
mTutorialTextSize
Holds the size of the default info view text view.
|
protected java.lang.String |
mTutorialTextTypeFaceName
Holds the name of the typeface that will be used for the default info view text view
|
| Constructor and Description |
|---|
TutorialBuilder() |
protected long mAnimationDuration
AbstractTutorialView.DEFAULT_ANIM_DURATION will be used.protected AbstractTutorialView.AnimationType mAnimationType
protected int mTutorialInfoLayoutId
protected int mTutorialTextColor
protected java.lang.String mTutorialTextTypeFaceName
protected int mTutorialTextSize
public TutorialBuilder setViewToSurround(android.view.View view)
public TutorialBuilder setBackgroundColor(int mBackgroundColor)
public TutorialBuilder setInfoText(java.lang.String mInfoText)
public TutorialBuilder setTutorialTextSize(int mTutorialTextSize)
public TutorialBuilder setTitle(java.lang.String mTitle)
public TutorialBuilder setPositionToSurroundX(float mPositionToSurroundX)
public TutorialBuilder setmPositionToSurroundY(float mPositionToSurroundY)
public TutorialBuilder setPositionToSurroundWidth(int mPositionToSurroundWidth)
public TutorialBuilder setPositionToSurroundHeight(int mPositionToSurroundHeight)
public TutorialBuilder setTutorialTextColor(int mTutorialTextColor)
public TutorialBuilder setTutorialTextTypeFaceName(java.lang.String mTutorialTextTypeFaceName)
public TutorialBuilder setTutorialInfoLayoutId(int mTutorialInfoLayoutId)
public TutorialBuilder setAnimationType(AbstractTutorialView.AnimationType mAnimationType)
public TutorialBuilder setAnimationDuration(long mAnimationDuration)
public TutorialBuilder setTutorialInfoTextPosition(int infoTextPosition)
public TutorialBuilder setTutorialGotItPosition(int gotItPosition)
public Tutorial build()