Balloon
Balloon implements a customizable tooltips popup with and arrow and animations.
See also
(https://github.com/skydoves/balloon)
Parameters
A context for creating and accessing internal resources.
A Balloon.Builder for creating an instance of the Balloon.
Types
Properties
Functions
clears all persisted preferences.
dismiss the popup menu with milliseconds delay.
gets a arrow view of the balloon popup window.
gets a content view of the balloon popup window.
gets measured height size of the balloon popup.
gets measured width size of the balloon popup.
dismiss automatically when lifecycle owner is destroyed.
dismiss when the LifecycleOwner be on paused.
Shows the balloon on an anchor view depending on the align alignment with x-off and y-off and shows the next balloon sequentially. This function returns the next balloon.
Shows the balloon on an anchor view as the center alignment with x-off and y-off and shows the next balloon sequentially. This function returns the next balloon.
sets whether the popup window will be attached in the decor frame of its parent window. If you want to show up balloon on your DialogFragment, it's recommended to use with true. (#131)
sets a OnBalloonClickListener to the popup.
sets a OnBalloonClickListener to the popup using lambda.
sets a OnBalloonDismissListener to the popup.
sets a OnBalloonDismissListener to the popup using lambda.
sets a OnBalloonInitializedListener to the popup. The OnBalloonInitializedListener.onBalloonInitialized will be invoked when inflating the body content of the balloon is finished.
sets a OnBalloonInitializedListener to the popup using a lambda. The OnBalloonInitializedListener.onBalloonInitialized will be invoked when inflating the body content of the balloon is finished.
sets a OnBalloonOutsideTouchListener to the popup.
sets a OnBalloonOutsideTouchListener to the popup using lambda.
sets a OnBalloonOverlayClickListener to the overlay popup.
sets a OnBalloonOverlayClickListener to the overlay popup using lambda.
sets a View.OnTouchListener to the overlay popup
sets a View.OnTouchListener to the overlay popup using lambda.
sets a View.OnTouchListener to the popup.
Checks if the balloon should show up.
Shows the balloon on an anchor view as the bottom alignment with x-off and y-off.
Shows the balloon on an anchor view as the left alignment with x-off and y-off.
Shows the balloon on an anchor view as the right alignment with x-off and y-off.
Shows the balloon on an anchor view as the top alignment with x-off and y-off.
Shows the balloon on an anchor view as drop down with x-off and y-off.
Shows the balloon over the anchor view (overlap) as the center aligns. Even if you use with the ArrowOrientationRules.ALIGN_ANCHOR, the alignment will not be guaranteed. So if you use the function, use with ArrowOrientationRules.ALIGN_FIXED and fixed ArrowOrientation.