Properties
Functions
sets a Runnable for invoking after the preference showing counts is reached the goal. This method should be used ith the setPreferenceName and setShowCounts.
sets a lambda for invoking after the preference showing counts is reached the goal. This method should be used ith the setPreferenceName and setShowCounts.
sets the alpha value to the popup.
sets the padding of the arrow when aligning anchor using with ArrowPositionRules.ALIGN_ANCHOR.
sets the padding ratio of the arrow when aligning anchor using with ArrowPositionRules.ALIGN_ANCHOR.
sets the padding of the arrow the resource when aligning anchor using with ArrowPositionRules.ALIGN_ANCHOR.
sets the bottom padding of the arrow.
sets the bottom padding of the arrow using the resource.
sets a color of the arrow.
sets if arrow color should match the color of the balloon card. Overrides arrowColor. Does not work with custom arrows.
sets a color of the arrow using a resource.
sets a custom drawable of the arrow.
sets a custom drawable of the arrow using the resource.
sets the elevation of the arrow.
sets the elevation of the arrow using dimension resource.
sets the left padding of the arrow.
sets the left padding of the arrow using the resource.
sets the arrow orientation using ArrowOrientation.
ArrowOrientationRules determines the orientation of the arrow depending on the aligning rules.
sets the arrow position by popup size ration. The popup size depends on arrowOrientation.
ArrowPositionRules determines the position of the arrow depending on the aligning rules.
sets the right padding of the arrow.
sets the right padding of the arrow using the resource.
sets the size of the arrow.
sets the size of the arrow using dimension resource.
sets the top padding of the arrow.
sets the top padding of the arrow using the resource.
dismisses automatically some milliseconds later when the popup is shown.
sets the background color of the arrow and popup.
sets the background color of the arrow and popup using the resource color.
sets the background drawable of the popup.
sets the background drawable of the popup by the resource.
sets the balloon showing animation using BalloonAnimation.
sets the balloon showing animation using custom xml animation style.
sets the balloon highlight animation using BalloonHighlightAnimation.
sets the balloon highlight animation using custom xml animation resource file.
sets the balloon overlay showing animation using BalloonAnimation.
sets the balloon overlay showing animation using custom xml animation style.
sets a BalloonRotateAnimation to give highlight animation.
sets the duration of the circular animation. this option only works with BalloonAnimation.CIRCULAR value in setBalloonAnimation.
sets the corner radius of the popup.
sets the corner radius of the popup using dimension resource.
dismisses when the popup clicked.
dismisses when the LifecycleOwner be on paused.
dismisses when the overlay popup is clicked.
dismisses when invoked show function again.
dismisses when touch margin of the popup.
dismisses when touch outside.
sets the elevation to the popup.
sets the elevation to the popup using dimension resource.
Enables or disables the auto-sized text.
sets isFocusable option to the body window. if true when the balloon is showing, can not touch other views and onBackPressed will be fired to the balloon.
sets the height size.
sets the height size using a dimension resource.
sets the color of the icon drawable.
sets the color of the icon drawable using the resource color.
sets the content description accessibility.
sets the content description accessibility using resource.
sets the icon drawable of the popup.
sets the icon drawable of the popup using the resource.
applies IconForm attributes to the icon.
sets the icon gravity of the popup using the resource.
sets the height size of the icon drawable.
sets the height size of the icon drawable using the dimension resource.
sets the size of the icon drawable.
sets the size of the icon drawable using the dimension resource.
sets the space between the icon and the main text content.
sets the space between the icon and the main text content using dimension resource.
sets the width size of the icon drawable.
sets the width size of the icon drawable using the dimension resource.
includes the font paddings of the text.
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 isComposableContent to the balloon content. isComposableContent indicates if the custom layout content is composed of Jetpack Compose Composable function.
sets is status bar is visible or not in your screen.
sets the visibility of the arrow.
sets the visibility of the overlay for highlighting an anchor.
sets a ViewBinding to the popup content.
sets a custom layout view to the popup content.
sets a custom layout resource to the popup content.
sets the LifecycleObserver for observing the the lifecycleOwner's lifecycle states.
sets the LifecycleOwner for dismissing automatically when the LifecycleOwner is destroyed. It will prevents memory leak : Avoid Memory Leak
sets the margin on the balloon all directions.
sets the bottom margin on the balloon.
sets the bottom margin on the balloon using dimension resource.
sets the horizontal (left and right) margins on the balloon.
sets the horizontal (left and right) margins on the balloon using a dimension resource.
sets the left margin on the balloon.
sets the left margin on the balloon using dimension resource.
sets the margin on the balloon all directions using a dimension resource.
sets the right margin on the balloon.
sets the right margin on the balloon using dimension resource.
sets the top margin on the balloon.
sets the top margin on the balloon using dimension resource.
sets the vertical (top and bottom) margins on the balloon.
sets the vertical (top and bottom) margins on the balloon using a dimension resource.
Sets the maximum auto-sized text size.
sets the maximum size of the width. this functionality works only with the BalloonSizeSpec.WRAP.
sets the maximum width size by the display screen size ratio.
sets the maximum size of the width using a dimension resource. this functionality works only with the BalloonSizeSpec.WRAP.
sets the measured width size.
Sets the minimum auto-sized text size.
sets the minimum size of the width. this functionality works only with the BalloonSizeSpec.WRAP.
sets the minimum width size by the display screen size ratio.
sets the minimum size of the width using a dimension resource. this functionality works only with the BalloonSizeSpec.WRAP.
sets the movement method for TextView.
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.
sets a OnBalloonInitializedListener to the popup using lambda.
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 popup.
background color of the overlay.
background color of the overlay using a color resource.
sets the balloon overlay gravity.
sets a padding value of the overlay shape internally.
sets color of the overlay padding.
sets color of the overlay padding using a color resource.
sets a padding value of the overlay shape internally using dimension resource..
sets shader of the overlay padding that will be used by an internal painter.
sets a specific position of the overlay shape.
sets a shape of the overlay over the anchor view.
sets the padding on the balloon content all directions.
sets the bottom padding on the balloon content.
sets the bottom padding on the balloon content using dimension resource.
sets the horizontal (right and left) padding on the balloon content.
sets the horizontal (right and left) padding on the balloon content using dimension resource.
sets the left padding on the balloon content.
sets the left padding on the balloon content using dimension resource.
sets the padding on the balloon content all directions using dimension resource.
sets the right padding on the balloon content.
sets the right padding on the balloon content using dimension resource.
sets the top padding on the balloon content.
sets the top padding on the balloon content using dimension resource.
sets the vertical (top and bottom) padding on the balloon content.
sets the vertical (top and bottom) padding on the balloon content using dimension resource.
sets the preference name for persisting showing counts. This method should be used with the setShowCounts.
sets the balloon should support the RTL layout. The RTL layout is enabled by default, but you can disable this by passing false to the isRtlSupport.
pass touch events through the overlay to the anchor.
sets showing counts which how many times the Balloon popup will be shown up. This method should be used with the setPreferenceName.
sets the width and height sizes of the balloon using a dimension resource.
sets the main text content of the popup.
sets the color of the main text content.
sets the color of the main text content using the resource color.
applies TextForm attributes to the main text content.
sets gravity of the text. this only works when the width or setWidthRatio set explicitly.
sets whether the text will be parsed as HTML (using Html.fromHtml(..))
sets the letter spacing value of the text.
sets the letter spacing value resource of the text.
sets the line spacing value of the text.
sets the line spacing value resource of the text.
sets the main text content of the popup using resource.
sets the size of the main text content.
sets the size of the main text content using dimension resource.
sets the typeface of the main text content.
sets the width size.
sets the width size by the display screen size ratio.
sets the width size using a dimension resource.