public static class MaterialTapTargetPrompt.Builder extends PromptOptions<MaterialTapTargetPrompt.Builder>
MaterialTapTargetPrompt
instance.Constructor and Description |
---|
Builder(android.app.Activity activity)
Creates a builder for a tap target prompt that uses the default tap target prompt theme.
|
Builder(android.app.Activity activity,
int themeResId)
Creates a builder for a material tap target prompt that uses an explicit theme resource.
|
Builder(android.app.Dialog dialog)
Creates a builder for a tap target prompt that uses the default tap target prompt theme.
|
Builder(android.app.DialogFragment dialogFragment)
Creates a builder for a tap target prompt that uses the default tap target prompt theme.
|
Builder(android.app.DialogFragment dialogFragment,
int themeResId)
Creates a builder for a material tap target prompt that uses an explicit theme resource.
|
Builder(android.app.Dialog dialog,
int themeResId)
Creates a builder for a material tap target prompt that uses an explicit theme resource.
|
Builder(android.app.Fragment fragment)
Creates a builder for a tap target prompt that uses the default tap target prompt theme.
|
Builder(android.app.Fragment fragment,
int themeResId)
Creates a builder for a material tap target prompt that uses an explicit theme resource.
|
Builder(ResourceFinder resourceFinder,
int themeResId)
Creates a builder for a material tap target prompt that uses an explicit theme resource.
|
create, getAnimationInterpolator, getAutoDismiss, getAutoFinish, getBackButtonDismissEnabled, getBackgroundColour, getCaptureTouchEventOnFocal, getCaptureTouchEventOutsidePrompt, getClipToView, getFocalColour, getFocalPadding, getFocalRadius, getIconDrawable, getIdleAnimationEnabled, getMaxTextWidth, getPrimaryText, getPrimaryTextColour, getPrimaryTextGravity, getPrimaryTextSize, getPrimaryTextTypeface, getPrimaryTextTypefaceStyle, getPromptBackground, getPromptFocal, getPromptText, getResourceFinder, getSecondaryText, getSecondaryTextColour, getSecondaryTextGravity, getSecondaryTextSize, getSecondaryTextTypeface, getSecondaryTextTypefaceStyle, getTargetPosition, getTargetRenderView, getTargetView, getTextPadding, getTextSeparation, isTargetSet, load, onPromptStateChanged, setAnimationInterpolator, setAutoDismiss, setAutoFinish, setBackButtonDismissEnabled, setBackgroundColour, setCaptureTouchEventOnFocal, setCaptureTouchEventOutsidePrompt, setClipToView, setFocalColour, setFocalPadding, setFocalPadding, setFocalRadius, setFocalRadius, setIcon, setIconDrawable, setIconDrawableColourFilter, setIconDrawableTintList, setIconDrawableTintMode, setIdleAnimationEnabled, setMaxTextWidth, setMaxTextWidth, setPrimaryText, setPrimaryText, setPrimaryText, setPrimaryTextColour, setPrimaryTextGravity, setPrimaryTextSize, setPrimaryTextSize, setPrimaryTextTypeface, setPrimaryTextTypeface, setPromptBackground, setPromptFocal, setPromptStateChangeListener, setPromptText, setSecondaryText, setSecondaryText, setSecondaryText, setSecondaryTextColour, setSecondaryTextGravity, setSecondaryTextSize, setSecondaryTextSize, setSecondaryTextTypeface, setSecondaryTextTypeface, setTarget, setTarget, setTarget, setTargetRenderView, setTextGravity, setTextPadding, setTextPadding, setTextSeparation, setTextSeparation, show
public Builder(android.app.Fragment fragment)
fragment
- the fragment to show the prompt within.public Builder(android.app.Fragment fragment, int themeResId)
The themeResId
may be specified as 0
to use the parent context
's
resolved value for R.attr#MaterialTapTargetPromptTheme
.
fragment
- the fragment to show the prompt within.themeResId
- the resource ID of the theme against which to inflate this dialog, or
0
to use the parent context
's default material tap
target prompt themepublic Builder(android.app.DialogFragment dialogFragment)
dialogFragment
- the dialog fragment to show the prompt within.public Builder(android.app.DialogFragment dialogFragment, int themeResId)
The themeResId
may be specified as 0
to use the parent context
's
resolved value for R.attr#MaterialTapTargetPromptTheme
.
dialogFragment
- the dialog fragment to show the prompt within.themeResId
- the resource ID of the theme against which to inflate this dialog,
or 0
to use the parent context
's default material
tap target prompt themepublic Builder(android.app.Dialog dialog)
dialog
- the dialog to show the prompt within.public Builder(android.app.Dialog dialog, int themeResId)
The themeResId
may be specified as 0
to use the parent context
's
resolved value for R.attr#MaterialTapTargetPromptTheme
.
dialog
- the dialog to show the prompt within.themeResId
- the resource ID of the theme against which to inflate this dialog, or
0
to use the parent context
's default material tap
target prompt themepublic Builder(android.app.Activity activity)
activity
- the activity to show the prompt within.public Builder(android.app.Activity activity, int themeResId)
The themeResId
may be specified as 0
to use the parent context
's
resolved value for R.attr#MaterialTapTargetPromptTheme
.
activity
- the activity to show the prompt within.themeResId
- the resource ID of the theme against which to inflate this dialog, or
0
to use the parent context
's default material tap
target prompt themepublic Builder(ResourceFinder resourceFinder, int themeResId)
The themeResId
may be specified as 0
to use the parent context
's
resolved value for R.attr#MaterialTapTargetPromptTheme
.
resourceFinder
- The ResourceFinder
used to find views and resources.themeResId
- the resource ID of the theme against which to inflate this dialog,
or 0
to use the parent context
's default material
tap target prompt theme