public class TitlePage extends WelcomePage<TitlePage>
WelcomePage.OnChangeListenerindex, isRtl, totalPages| Constructor and Description |
|---|
TitlePage(int drawableResId,
java.lang.String title)
A page with a large title and an image
|
| Modifier and Type | Method and Description |
|---|---|
Fragment |
fragment() |
TitlePage |
parallax(boolean showParallax)
Whether or not a parallax effect should be shown.
|
void |
setup(WelcomeConfiguration config) |
TitlePage |
titleColor(int color)
Set the color of the title
|
TitlePage |
titleColorResource(android.content.Context context,
int colorRes)
Set the color of the title from a color resource id
|
TitlePage |
titleTypeface(java.lang.String typefacePath)
Set the typeface of the title
|
background, background, createFragment, getFragment, onPageScrolled, onPageScrollStateChanged, onPageSelectedpublic TitlePage(@DrawableRes
int drawableResId,
java.lang.String title)
drawableResId - The resource id of the drawable to showtitle - Titlepublic TitlePage parallax(boolean showParallax)
showParallax - If parallax effect should be shownpublic TitlePage titleTypeface(java.lang.String typefacePath)
typefacePath - The path to a typeface in the assets folderpublic TitlePage titleColor(int color)
color - Color intpublic TitlePage titleColorResource(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<TitlePage>public Fragment fragment()
fragment in class WelcomePage<TitlePage>