public class BasicPage extends WelcomePage<BasicPage>
WelcomePage.OnChangeListenerindex, isRtl, totalPages| Constructor and Description |
|---|
BasicPage(int drawableResId,
java.lang.String title,
java.lang.String description)
A page with a large image, header, and description
|
| Modifier and Type | Method and Description |
|---|---|
BasicPage |
descriptionColor(int color)
Set the color of the header
|
BasicPage |
descriptionColorResource(android.content.Context context,
int colorRes)
Set the color of the description from a color resource id
|
BasicPage |
descriptionTypeface(java.lang.String typefacePath)
Set the typeface of the description
|
Fragment |
fragment() |
BasicPage |
headerColor(int color)
Set the color of the header
|
BasicPage |
headerColorResource(android.content.Context context,
int colorRes)
Set the color of the header from a color resource id
|
BasicPage |
headerTypeface(java.lang.String typefacePath)
Set the typeface of the header
|
BasicPage |
parallax(boolean showParallax)
Whether or not a parallax effect should be shown.
|
void |
setup(WelcomeConfiguration config) |
background, background, createFragment, getFragment, onPageScrolled, onPageScrollStateChanged, onPageSelectedpublic BasicPage(@DrawableRes
int drawableResId,
java.lang.String title,
java.lang.String description)
drawableResId - Resource id of drawable to showtitle - Title, shown in large fontdescription - Description, shown beneath titlepublic BasicPage parallax(boolean showParallax)
showParallax - If parallax effect should be shownpublic BasicPage headerTypeface(java.lang.String typefacePath)
typefacePath - The path to a typeface in the assets folderpublic BasicPage descriptionTypeface(java.lang.String typefacePath)
typefacePath - The path to a typeface in the assets folderpublic BasicPage headerColor(int color)
color - Color intpublic BasicPage headerColorResource(android.content.Context context, @ColorRes int colorRes)
context - Context used to resolve colorcolorRes - Resource id of color to setpublic BasicPage descriptionColor(int color)
color - Color intpublic BasicPage descriptionColorResource(android.content.Context context, @ColorRes int colorRes)
context - Context used to resolve colorcolorRes - Resource id of color to setpublic void setup(WelcomeConfiguration config)
setup in class WelcomePage<BasicPage>public Fragment fragment()
fragment in class WelcomePage<BasicPage>