public interface TutorialInterface
| Modifier and Type | Method and Description |
|---|---|
long |
getAnimationDuration() |
AbstractTutorialView.AnimationType |
getAnimationType() |
int |
getTutorialBackgroundColor() |
int |
getTutorialGotItPosition() |
int |
getTutorialInfoLayoutId() |
int |
getTutorialInfoTextPosition() |
java.lang.String |
getTutorialText() |
int |
getTutorialTextColor() |
int |
getTutorialTextSize() |
java.lang.String |
getTutorialTextTypeFace() |
void |
setAnimationDuration(long duration) |
void |
setAnimationType(AbstractTutorialView.AnimationType animationType) |
void |
setTutorialBackgroundColor(int mTutorialBackgroundColor)
The background color for the tutorial.
|
void |
setTutorialGotItPosition(int gotItPosition) |
void |
setTutorialInfoLayoutId(int tutorialInfoLayoutId)
The Layout id of the view that will be used to show the tutorial text or information.
|
void |
setTutorialInfoTextPosition(int infoTextPosition) |
void |
setTutorialText(java.lang.String tutorialText)
The text that will be used for the
mTutorialInfoView. |
void |
setTutorialTextColor(int mTutorialTextColor) |
void |
setTutorialTextSize(int mTutorialTextSize)
Set the size that will be used for the default info view text view.
|
void |
setTutorialTextTypeFace(java.lang.String tutorialTextTypeFaceName) |
void setTutorialInfoLayoutId(int tutorialInfoLayoutId)
tutorialInfoLayoutId - the id of the layout that should be used for the info text.int getTutorialInfoLayoutId()
void setTutorialBackgroundColor(int mTutorialBackgroundColor)
mTutorialBackgroundColor - the backgrond color to use for the backgroundint getTutorialBackgroundColor()
void setTutorialText(java.lang.String tutorialText)
mTutorialInfoView.
Only if the layout that is used is the default layout com.braunster.tutorialview.R.layout#tutorial_text.tutorialText - The explenation text about the view.AbstractTutorialView.setTutorialTextTypeFace(String),
AbstractTutorialView.setTutorialTextColor(int),
AbstractTutorialView.setTutorialTextSize(int)java.lang.String getTutorialText()
void setTutorialTextSize(int mTutorialTextSize)
mTutorialTextSize - the size that would be used for the info text.AbstractTutorialView.setTutorialText(String),
AbstractTutorialView.setTutorialTextColor(int),
AbstractTutorialView.setTutorialTextTypeFace(String)int getTutorialTextSize()
void setTutorialTextColor(int mTutorialTextColor)
mTutorialTextColor - the color that will be used for the default info view text view.
This color will also be used for the "Got It" button.AbstractTutorialView.setTutorialTextSize(int),
AbstractTutorialView.setTutorialText(String),
AbstractTutorialView.setTutorialTextTypeFace(String)int getTutorialTextColor()
void setTutorialTextTypeFace(java.lang.String tutorialTextTypeFaceName)
tutorialTextTypeFaceName - the typeface name that will be used for the default info view text view.AbstractTutorialView.setTutorialTextSize(int),
AbstractTutorialView.setTutorialText(String),
AbstractTutorialView.setTutorialTextColor(int)java.lang.String getTutorialTextTypeFace()
void setAnimationType(AbstractTutorialView.AnimationType animationType)
animationType - the animation type that will be used to show and hide the tutorial.AbstractTutorialView.AnimationType getAnimationType()
void setAnimationDuration(long duration)
duration - the time that will be used for the animationlong getAnimationDuration()
void setTutorialInfoTextPosition(int infoTextPosition)
int getTutorialInfoTextPosition()
void setTutorialGotItPosition(int gotItPosition)
int getTutorialGotItPosition()