⛔️ DEPRECATED Material Design tap target for Android. https://sjwall.github.io/MaterialTapTargetPrompt/
APACHE-2.0 License
Bot releases are visible (Hide)
Published by sjwall over 6 years ago
Published by sjwall over 6 years ago
Published by sjwall almost 7 years ago
Published by sjwall almost 7 years ago
Published by sjwall almost 7 years ago
Published by sjwall almost 7 years ago
Published by sjwall almost 7 years ago
Published by sjwall almost 7 years ago
Published by sjwall about 7 years ago
Published by sjwall about 7 years ago
Published by sjwall about 7 years ago
Published by sjwall about 7 years ago
ResourceFinder.getWindow()
OnHidePromptListener
- Replaced with PromptStateChangeListener
.OnHidePromptListener.onHidePrompt
- Replaced with PromptStateChangeListener(MaterialTapTargetPrompt prompt, boolean state)
where the state is either MaterialTapTargetPrompt.STATE_DISMISSING
or MaterialTapTargetPrompt.STATE_FOCAL_PRESSED
.OnHidePromptListener.onHidePromptComplete
- Replaced with PromptStateChangeListener(MaterialTapTargetPrompt prompt, boolean state)
where the state is either MaterialTapTargetPrompt.STATE_DISMISSED
or MaterialTapTargetPrompt.STATE_FINISHED
.builder.setBackgroundColourAlpha
- Alpha is taken from builder.setBackgroundColour(int)
builder.setBackgroundColourFromRes(int)
- Use a constructor with a theme for example Builder(Activity, int)
builder.setFocalColourAlpha(int)
- Alpha value is taken from builder.setFocalColour(int)
builder.setFocalColourFromRes(int)
- Use a constructor with a theme for example Builder(Activity, int)
builder.setFocalToTextPadding(float)
- Renamed to setFocalPadding(float)
builder.setFocalToTextPadding(int)
- Rename to setFocalPadding(int)
builder.setIconDrawableColourFilterFromRes(int)
- Use a constructor with a theme for example Builder(Activity, int)
builder.setOnHidePromptListener(MaterialTapTargetPrompt.OnHidePromptListener
- Replaced with builder.setPromptStateChangeListener(PromptStateChangeListener)
builder.setPrimaryTextColourFromRes(int)
- Use a constructor with a theme for example Builder(Activity, int)
builder.setSecondaryTextColourFromRes(int)
- Use a constructor with a theme for example Builder(Activity, int)
Published by sjwall about 7 years ago
Published by sjwall about 7 years ago
ResourceFinder.getWindow()
no longer required, will be removed in v2.0.0Published by sjwall over 7 years ago
setBackButtonDismissEnabled(boolean)
to allow the system back button to dismiss the prompt.PromptStateChangeListener
to listen for prompt being shown and hidden. Possible states are:STATE_REVEALING
- Prompt reveal animation is running.STATE_REVEALED
- Prompt reveal animation has finished and the prompt is displayed.STATE_FOCAL_PRESSED
- The prompt target has been pressed.STATE_FINISHED
- The prompt has been removed from view after the prompt target has been pressed.STATE_DISMISSING
- The prompt has been pressed somewhere other than the prompt target or the system back button has been pressed.STATE_DISMISSED
- The prompt has been removed from view after the prompt has either been pressed somewhere other than the prompt target or the system back button has been pressed.Activity
with ResourceFinder
interface. Now uses ActivityResourceFinder
or DialogResourceFinder
.DialogResourceFinder
.OnHidePromptListener
- Replaced with PromptStateChangeListener
.OnHidePromptListener.onHidePrompt
- Replaced with PromptStateChangeListener(MaterialTapTargetPrompt prompt, boolean state)
where the state is either MaterialTapTargetPrompt.STATE_DISMISSING
or MaterialTapTargetPrompt.STATE_FOCAL_PRESSED
.OnHidePromptListener.onHidePromptComplete
- Replaced with PromptStateChangeListener(MaterialTapTargetPrompt prompt, boolean state)
where the state is either MaterialTapTargetPrompt.STATE_DISMISSED
or MaterialTapTargetPrompt.STATE_FINISHED
.builder.setBackgroundColourAlpha
- Alpha value will be taken from builder.setBackgroundColour(int)
in v2.0.0builder.setBackgroundColourFromRes(int)
- Will be removed in v2.0.0, use a constructor with a theme for example Builder(Activity, int)
builder.setFocalColourAlpha(int)
- Alpha value will be taken from builder.setFocalColour(int)
in v2.0.0builder.setFocalColourFromRes(int)
- Will be removed in v2.0.0, use a constructor with a theme for example Builder(Activity, int)
builder.setFocalToTextPadding(float)
- Renamed to setFocalPadding(float)
builder.setFocalToTextPadding(int)
- Rename to setFocalPadding(int)
builder.setIconDrawableColourFilterFromRes(int)
- Will be removed in v2.0.0, use a constructor with a theme for example Builder(Activity, int)
builder.setOnHidePromptListener(MaterialTapTargetPrompt.OnHidePromptListener
- Replaced with builder.setPromptStateChangeListener(PromptStateChangeListener)
builder.setPrimaryTextColourFromRes(int)
- Will be removed in v2.0.0, use a constructor with a theme for example Builder(Activity, int)
builder.setSecondaryTextColourFromRes(int)
- Will be removed in v2.0.0, use a constructor with a theme for example Builder(Activity, int)
Published by sjwall over 7 years ago
Published by sjwall over 7 years ago
Published by sjwall over 7 years ago
Published by sjwall over 7 years ago