Builder

class Builder(context: Context)

Builder class for creating Balloon.

Constructors

Builder
Link copied to clipboard
fun Builder(context: Context)

Functions

build
Link copied to clipboard
fun build(): Balloon
Create a new instance of the Balloon which includes customized attributes.
runIfReachedShowCounts
Link copied to clipboard
fun runIfReachedShowCounts(runnable: Runnable): Balloon.Builder
sets a Runnable for invoking after the preference showing counts is reached the goal.
fun runIfReachedShowCounts(block: () -> Unit): Balloon.Builder
sets a lambda for invoking after the preference showing counts is reached the goal.
setAlpha
Link copied to clipboard
fun setAlpha(value: Float): Balloon.Builder
sets the alpha value to the popup.
setArrowAlignAnchorPadding
Link copied to clipboard
fun setArrowAlignAnchorPadding(@Dp() value: Int): Balloon.Builder
sets the padding of the arrow when aligning anchor using with ArrowPositionRules.ALIGN_ANCHOR.
setArrowAlignAnchorPaddingRatio
Link copied to clipboard
fun setArrowAlignAnchorPaddingRatio(value: Float): Balloon.Builder
sets the padding ratio of the arrow when aligning anchor using with ArrowPositionRules.ALIGN_ANCHOR.
setArrowAlignAnchorPaddingResource
Link copied to clipboard
fun setArrowAlignAnchorPaddingResource(@DimenRes() value: Int): Balloon.Builder
sets the padding of the arrow the resource when aligning anchor using with ArrowPositionRules.ALIGN_ANCHOR.
setArrowBottomPadding
Link copied to clipboard
fun setArrowBottomPadding(@Dp() value: Int): Balloon.Builder
sets the bottom padding of the arrow.
setArrowBottomPaddingResource
Link copied to clipboard
fun setArrowBottomPaddingResource(@DimenRes() value: Int): Balloon.Builder
sets the bottom padding of the arrow using the resource.
setArrowColor
Link copied to clipboard
fun setArrowColor(value: Int): Balloon.Builder
sets a color of the arrow.
setArrowColorMatchBalloon
Link copied to clipboard
fun setArrowColorMatchBalloon(value: Boolean): Balloon.Builder
sets if arrow color should match the color of the balloon card.
setArrowColorResource
Link copied to clipboard
fun setArrowColorResource(@ColorRes() value: Int): Balloon.Builder
sets a color of the arrow using a resource.
setArrowDrawable
Link copied to clipboard
fun setArrowDrawable(value: Drawable?): Balloon.Builder
sets a custom drawable of the arrow.
setArrowDrawableResource
Link copied to clipboard
fun setArrowDrawableResource(@DrawableRes() value: Int): Balloon.Builder
sets a custom drawable of the arrow using the resource.
setArrowElevation
Link copied to clipboard
fun setArrowElevation(@Dp() value: Int): Balloon.Builder
sets the elevation of the arrow.
setArrowElevationResource
Link copied to clipboard
fun setArrowElevationResource(@DimenRes() value: Int): Balloon.Builder
sets the elevation of the arrow using dimension resource.
setArrowLeftPadding
Link copied to clipboard
fun setArrowLeftPadding(@Dp() value: Int): Balloon.Builder
sets the left padding of the arrow.
setArrowLeftPaddingResource
Link copied to clipboard
fun setArrowLeftPaddingResource(@DimenRes() value: Int): Balloon.Builder
sets the left padding of the arrow using the resource.
setArrowOrientation
Link copied to clipboard
fun setArrowOrientation(value: ArrowOrientation): Balloon.Builder
sets the arrow orientation using ArrowOrientation.
setArrowOrientationRules
Link copied to clipboard
fun setArrowOrientationRules(value: ArrowOrientationRules): Balloon.Builder
ArrowOrientationRules determines the orientation of the arrow depending on the aligning rules.
setArrowPosition
Link copied to clipboard
fun setArrowPosition(value: Float): Balloon.Builder
sets the arrow position by popup size ration.
setArrowPositionRules
Link copied to clipboard
fun setArrowPositionRules(value: ArrowPositionRules): Balloon.Builder
ArrowPositionRules determines the position of the arrow depending on the aligning rules.
setArrowRightPadding
Link copied to clipboard
fun setArrowRightPadding(@Dp() value: Int): Balloon.Builder
sets the right padding of the arrow.
setArrowRightPaddingResource
Link copied to clipboard
fun setArrowRightPaddingResource(@DimenRes() value: Int): Balloon.Builder
sets the right padding of the arrow using the resource.
setArrowSize
Link copied to clipboard
fun setArrowSize(@Dp() value: Int): Balloon.Builder
sets the size of the arrow.
setArrowSizeResource
Link copied to clipboard
fun setArrowSizeResource(@DimenRes() value: Int): Balloon.Builder
sets the size of the arrow using dimension resource.
setArrowTopPadding
Link copied to clipboard
fun setArrowTopPadding(@Dp() value: Int): Balloon.Builder
sets the top padding of the arrow.
setArrowTopPaddingResource
Link copied to clipboard
fun setArrowTopPaddingResource(@DimenRes() value: Int): Balloon.Builder
sets the top padding of the arrow using the resource.
setAutoDismissDuration
Link copied to clipboard
fun setAutoDismissDuration(value: Long): Balloon.Builder
dismisses automatically some milliseconds later when the popup is shown.
setBackgroundColor
Link copied to clipboard
fun setBackgroundColor(value: Int): Balloon.Builder
sets the background color of the arrow and popup.
setBackgroundColorResource
Link copied to clipboard
fun setBackgroundColorResource(@ColorRes() value: Int): Balloon.Builder
sets the background color of the arrow and popup using the resource color.
setBackgroundDrawable
Link copied to clipboard
fun setBackgroundDrawable(value: Drawable?): Balloon.Builder
sets the background drawable of the popup.
setBackgroundDrawableResource
Link copied to clipboard
fun setBackgroundDrawableResource(@DrawableRes() value: Int): Balloon.Builder
sets the background drawable of the popup by the resource.
setBalloonAnimation
Link copied to clipboard
fun setBalloonAnimation(value: BalloonAnimation): Balloon.Builder
sets the balloon showing animation using BalloonAnimation.
setBalloonAnimationStyle
Link copied to clipboard
fun setBalloonAnimationStyle(@StyleRes() value: Int): Balloon.Builder
sets the balloon showing animation using custom xml animation style.
setBalloonHighlightAnimation
Link copied to clipboard
fun setBalloonHighlightAnimation(value: BalloonHighlightAnimation, startDelay: Long = 0L): Balloon.Builder
sets the balloon highlight animation using BalloonHighlightAnimation.
setBalloonHighlightAnimationResource
Link copied to clipboard
fun setBalloonHighlightAnimationResource(@AnimRes() value: Int, startDelay: Long = 0L): Balloon.Builder
sets the balloon highlight animation using custom xml animation resource file.
setBalloonOverlayAnimation
Link copied to clipboard
sets the balloon overlay showing animation using BalloonAnimation.
setBalloonOverlayAnimationStyle
Link copied to clipboard
fun setBalloonOverlayAnimationStyle(@StyleRes() value: Int): Balloon.Builder
sets the balloon overlay showing animation using custom xml animation style.
setBalloonRotationAnimation
Link copied to clipboard
fun setBalloonRotationAnimation(balloonRotateAnimation: BalloonRotateAnimation): Balloon.Builder
sets a BalloonRotateAnimation to give highlight animation.
setCircularDuration
Link copied to clipboard
fun setCircularDuration(value: Long): Balloon.Builder
sets the duration of the circular animation.
setCornerRadius
Link copied to clipboard
fun setCornerRadius(@Dp() value: Float): Balloon.Builder
sets the corner radius of the popup.
setCornerRadiusResource
Link copied to clipboard
fun setCornerRadiusResource(@DimenRes() value: Int): Balloon.Builder
sets the corner radius of the popup using dimension resource.
setDismissWhenClicked
Link copied to clipboard
fun setDismissWhenClicked(value: Boolean): Balloon.Builder
dismisses when the popup clicked.
setDismissWhenLifecycleOnPause
Link copied to clipboard
fun setDismissWhenLifecycleOnPause(value: Boolean): Balloon.Builder
dismisses when the LifecycleOwner be on paused.
setDismissWhenOverlayClicked
Link copied to clipboard
fun setDismissWhenOverlayClicked(value: Boolean): Balloon.Builder
dismisses when the overlay popup is clicked.
setDismissWhenShowAgain
Link copied to clipboard
fun setDismissWhenShowAgain(value: Boolean): Balloon.Builder
dismisses when invoked show function again.
setDismissWhenTouchOutside
Link copied to clipboard
fun setDismissWhenTouchOutside(value: Boolean): Balloon.Builder
dismisses when touch outside.
setElevation
Link copied to clipboard
fun setElevation(@Dp() value: Int): Balloon.Builder
sets the elevation to the popup.
setElevationResource
Link copied to clipboard
fun setElevationResource(@DimenRes() value: Int): Balloon.Builder
sets the elevation to the popup using dimension resource.
setFocusable
Link copied to clipboard
fun setFocusable(value: Boolean): Balloon.Builder
sets isFocusable option to the body window.
setHeight
Link copied to clipboard
fun setHeight(@Dp() value: Int): Balloon.Builder
sets the height size.
setHeightResource
Link copied to clipboard
fun setHeightResource(@DimenRes() value: Int): Balloon.Builder
sets the height size using a dimension resource.
setIconColor
Link copied to clipboard
fun setIconColor(value: Int): Balloon.Builder
sets the color of the icon drawable.
setIconColorResource
Link copied to clipboard
fun setIconColorResource(@ColorRes() value: Int): Balloon.Builder
sets the color of the icon drawable using the resource color.
setIconDrawable
Link copied to clipboard
fun setIconDrawable(value: Drawable?): Balloon.Builder
sets the icon drawable of the popup.
setIconDrawableResource
Link copied to clipboard
fun setIconDrawableResource(@DrawableRes() value: Int): Balloon.Builder
sets the icon drawable of the popup using the resource.
setIconForm
Link copied to clipboard
fun setIconForm(value: IconForm): Balloon.Builder
applies IconForm attributes to the icon.
setIconGravity
Link copied to clipboard
fun setIconGravity(value: IconGravity): Balloon.Builder
sets the icon gravity of the popup using the resource.
setIconHeight
Link copied to clipboard
fun setIconHeight(@Dp() value: Int): Balloon.Builder
sets the height size of the icon drawable.
setIconHeightResource
Link copied to clipboard
fun setIconHeightResource(@DimenRes() value: Int): Balloon.Builder
sets the height size of the icon drawable using the dimension resource.
setIconSize
Link copied to clipboard
fun setIconSize(@Dp() value: Int): Balloon.Builder
sets the size of the icon drawable.
setIconSizeResource
Link copied to clipboard
fun setIconSizeResource(@DimenRes() value: Int): Balloon.Builder
sets the size of the icon drawable using the dimension resource.
setIconSpace
Link copied to clipboard
fun setIconSpace(@Dp() value: Int): Balloon.Builder
sets the space between the icon and the main text content.
setIconSpaceResource
Link copied to clipboard
fun setIconSpaceResource(@DimenRes() value: Int): Balloon.Builder
sets the space between the icon and the main text content using dimension resource.
setIconWidth
Link copied to clipboard
fun setIconWidth(@Dp() value: Int): Balloon.Builder
sets the width size of the icon drawable.
setIconWidthResource
Link copied to clipboard
fun setIconWidthResource(@DimenRes() value: Int): Balloon.Builder
sets the width size of the icon drawable using the dimension resource.
setIsAttachedInDecor
Link copied to clipboard
fun setIsAttachedInDecor(value: Boolean): Balloon.Builder
sets whether the popup window will be attached in the decor frame of its parent window.
setIsStatusBarVisible
Link copied to clipboard
fun setIsStatusBarVisible(value: Boolean): Balloon.Builder
sets is status bar is visible or not in your screen.
setIsVisibleArrow
Link copied to clipboard
fun setIsVisibleArrow(value: Boolean): Balloon.Builder
sets the visibility of the arrow.
setIsVisibleOverlay
Link copied to clipboard
fun setIsVisibleOverlay(value: Boolean): Balloon.Builder
sets the visibility of the overlay for highlighting an anchor.
setLayout
Link copied to clipboard
fun setLayout(layout: View): Balloon.Builder
sets the custom layout view to the popup content.
fun setLayout(@LayoutRes() layoutRes: Int): Balloon.Builder
sets the custom layout resource to the popup content.
setLifecycleOwner
Link copied to clipboard
fun setLifecycleOwner(value: LifecycleOwner?): Balloon.Builder
sets the LifecycleOwner for dismissing automatically when the LifecycleOwner is destroyed.
setMargin
Link copied to clipboard
fun setMargin(@Dp() value: Int): Balloon.Builder
sets the margin on the balloon all directions.
setMarginBottom
Link copied to clipboard
fun setMarginBottom(@Dp() value: Int): Balloon.Builder
sets the bottom margin on the balloon.
setMarginBottomResource
Link copied to clipboard
fun setMarginBottomResource(@DimenRes() value: Int): Balloon.Builder
sets the bottom margin on the balloon using dimension resource.
setMarginHorizontal
Link copied to clipboard
fun setMarginHorizontal(@Dp() value: Int): Balloon.Builder
sets the horizontal (left and right) margins on the balloon.
setMarginHorizontalResource
Link copied to clipboard
fun setMarginHorizontalResource(@DimenRes() value: Int): Balloon.Builder
sets the horizontal (left and right) margins on the balloon using a dimension resource.
setMarginLeft
Link copied to clipboard
fun setMarginLeft(@Dp() value: Int): Balloon.Builder
sets the left margin on the balloon.
setMarginLeftResource
Link copied to clipboard
fun setMarginLeftResource(@DimenRes() value: Int): Balloon.Builder
sets the left margin on the balloon using dimension resource.
setMarginResource
Link copied to clipboard
fun setMarginResource(@DimenRes() value: Int): Balloon.Builder
sets the margin on the balloon all directions using a dimension resource.
setMarginRight
Link copied to clipboard
fun setMarginRight(@Dp() value: Int): Balloon.Builder
sets the right margin on the balloon.
setMarginRightResource
Link copied to clipboard
fun setMarginRightResource(@DimenRes() value: Int): Balloon.Builder
sets the right margin on the balloon using dimension resource.
setMarginTop
Link copied to clipboard
fun setMarginTop(@Dp() value: Int): Balloon.Builder
sets the top margin on the balloon.
setMarginTopResource
Link copied to clipboard
fun setMarginTopResource(@DimenRes() value: Int): Balloon.Builder
sets the top margin on the balloon using dimension resource.
setMarginVertical
Link copied to clipboard
fun setMarginVertical(@Dp() value: Int): Balloon.Builder
sets the vertical (top and bottom) margins on the balloon.
setMarginVerticalResource
Link copied to clipboard
fun setMarginVerticalResource(@DimenRes() value: Int): Balloon.Builder
sets the vertical (top and bottom) margins on the balloon using a dimension resource.
setMaxWidth
Link copied to clipboard
fun setMaxWidth(@Dp() value: Int): Balloon.Builder
sets the maximum size of the width.
setMaxWidthRatio
Link copied to clipboard
fun setMaxWidthRatio(value: Float): Balloon.Builder
sets the maximum width size by the display screen size ratio.
setMaxWidthResource
Link copied to clipboard
fun setMaxWidthResource(@DimenRes() value: Int): Balloon.Builder
sets the maximum size of the width using a dimension resource.
setMinWidth
Link copied to clipboard
fun setMinWidth(@Dp() value: Int): Balloon.Builder
sets the minimum size of the width.
setMinWidthRatio
Link copied to clipboard
fun setMinWidthRatio(value: Float): Balloon.Builder
sets the minimum width size by the display screen size ratio.
setMinWidthResource
Link copied to clipboard
fun setMinWidthResource(@DimenRes() value: Int): Balloon.Builder
sets the minimum size of the width using a dimension resource.
setMovementMethod
Link copied to clipboard
fun setMovementMethod(value: MovementMethod): Balloon.Builder
sets the movement method for TextView.
setOnBalloonClickListener
Link copied to clipboard
fun setOnBalloonClickListener(value: OnBalloonClickListener): Balloon.Builder
sets a OnBalloonClickListener to the popup.
fun setOnBalloonClickListener(block: (View) -> Unit): Balloon.Builder
sets a OnBalloonClickListener to the popup using lambda.
setOnBalloonDismissListener
Link copied to clipboard
sets a OnBalloonDismissListener to the popup.
fun setOnBalloonDismissListener(block: () -> Unit): Balloon.Builder
sets a OnBalloonDismissListener to the popup using lambda.
setOnBalloonInitializedListener
Link copied to clipboard
fun setOnBalloonInitializedListener(block: (View) -> Unit): Balloon.Builder
sets a OnBalloonInitializedListener to the popup using lambda.
setOnBalloonOutsideTouchListener
Link copied to clipboard
fun setOnBalloonOutsideTouchListener(block: (View, MotionEvent) -> Unit): Balloon.Builder
sets a OnBalloonOutsideTouchListener to the popup using lambda.
setOnBalloonOverlayClickListener
Link copied to clipboard
sets a OnBalloonOverlayClickListener to the overlay popup.
fun setOnBalloonOverlayClickListener(block: () -> Unit): Balloon.Builder
sets a OnBalloonOverlayClickListener to the overlay popup using lambda.
setOnBalloonOverlayTouchListener
Link copied to clipboard
sets a View.OnTouchListener to the overlay popup.
setOnBalloonTouchListener
Link copied to clipboard
fun setOnBalloonTouchListener(value: View.OnTouchListener): Balloon.Builder
sets a View.OnTouchListener to the popup.
setOverlayColor
Link copied to clipboard
fun setOverlayColor(value: Int): Balloon.Builder
background color of the overlay.
setOverlayColorResource
Link copied to clipboard
fun setOverlayColorResource(@ColorRes() value: Int): Balloon.Builder
background color of the overlay using a color resource.
setOverlayPadding
Link copied to clipboard
fun setOverlayPadding(@Dp() value: Float): Balloon.Builder
sets a padding value of the overlay shape internally.
setOverlayPaddingColor
Link copied to clipboard
fun setOverlayPaddingColor(value: Int): Balloon.Builder
sets color of the overlay padding.
setOverlayPaddingColorResource
Link copied to clipboard
fun setOverlayPaddingColorResource(@ColorRes() value: Int): Balloon.Builder
sets color of the overlay padding using a color resource.
setOverlayPaddingResource
Link copied to clipboard
fun setOverlayPaddingResource(@DimenRes() value: Int): Balloon.Builder
sets a padding value of the overlay shape internally using dimension resource..
setOverlayPosition
Link copied to clipboard
fun setOverlayPosition(value: Point): Balloon.Builder
sets a specific position of the overlay shape.
setOverlayShape
Link copied to clipboard
fun setOverlayShape(value: BalloonOverlayShape): Balloon.Builder
sets a shape of the overlay over the anchor view.
setPadding
Link copied to clipboard
fun setPadding(@Dp() value: Int): Balloon.Builder
sets the padding on the balloon content all directions.
setPaddingBottom
Link copied to clipboard
fun setPaddingBottom(@Dp() value: Int): Balloon.Builder
sets the bottom padding on the balloon content.
setPaddingBottomResource
Link copied to clipboard
fun setPaddingBottomResource(@DimenRes() value: Int): Balloon.Builder
sets the bottom padding on the balloon content using dimension resource.
setPaddingHorizontal
Link copied to clipboard
fun setPaddingHorizontal(@Dp() value: Int): Balloon.Builder
sets the horizontal (right and left) padding on the balloon content.
setPaddingHorizontalResource
Link copied to clipboard
fun setPaddingHorizontalResource(@DimenRes() value: Int): Balloon.Builder
sets the horizontal (right and left) padding on the balloon content using dimension resource.
setPaddingLeft
Link copied to clipboard
fun setPaddingLeft(@Dp() value: Int): Balloon.Builder
sets the left padding on the balloon content.
setPaddingLeftResource
Link copied to clipboard
fun setPaddingLeftResource(@DimenRes() value: Int): Balloon.Builder
sets the left padding on the balloon content using dimension resource.
setPaddingResource
Link copied to clipboard
fun setPaddingResource(@DimenRes() value: Int): Balloon.Builder
sets the padding on the balloon content all directions using dimension resource.
setPaddingRight
Link copied to clipboard
fun setPaddingRight(@Dp() value: Int): Balloon.Builder
sets the right padding on the balloon content.
setPaddingRightResource
Link copied to clipboard
fun setPaddingRightResource(@DimenRes() value: Int): Balloon.Builder
sets the right padding on the balloon content using dimension resource.
setPaddingTop
Link copied to clipboard
fun setPaddingTop(@Dp() value: Int): Balloon.Builder
sets the top padding on the balloon content.
setPaddingTopResource
Link copied to clipboard
fun setPaddingTopResource(@DimenRes() value: Int): Balloon.Builder
sets the top padding on the balloon content using dimension resource.
setPaddingVertical
Link copied to clipboard
fun setPaddingVertical(@Dp() value: Int): Balloon.Builder
sets the vertical (top and bottom) padding on the balloon content.
setPaddingVerticalResource
Link copied to clipboard
fun setPaddingVerticalResource(@DimenRes() value: Int): Balloon.Builder
sets the vertical (top and bottom) padding on the balloon content using dimension resource.
setPreferenceName
Link copied to clipboard
fun setPreferenceName(value: String): Balloon.Builder
sets the preference name for persisting showing counts.
setShowCounts
Link copied to clipboard
fun setShowCounts(value: Int): Balloon.Builder
sets showing counts which how many times the Balloon popup will be shown up.
setSize
Link copied to clipboard
fun setSize(@Dp() width: Int, @Dp() height: Int): Balloon.Builder
sets the width and height sizes of the balloon.
setSizeResource
Link copied to clipboard
fun setSizeResource(@DimenRes() width: Int, @DimenRes() height: Int): Balloon.Builder
sets the width and height sizes of the balloon using a dimension resource.
setText
Link copied to clipboard
fun setText(value: CharSequence): Balloon.Builder
sets the main text content of the popup.
setTextColor
Link copied to clipboard
fun setTextColor(value: Int): Balloon.Builder
sets the color of the main text content.
setTextColorResource
Link copied to clipboard
fun setTextColorResource(@ColorRes() value: Int): Balloon.Builder
sets the color of the main text content using the resource color.
setTextForm
Link copied to clipboard
fun setTextForm(value: TextForm): Balloon.Builder
applies TextForm attributes to the main text content.
setTextGravity
Link copied to clipboard
fun setTextGravity(value: Int): Balloon.Builder
sets gravity of the text.
setTextIsHtml
Link copied to clipboard
fun setTextIsHtml(value: Boolean): Balloon.Builder
sets whether the text will be parsed as HTML (using Html.fromHtml(..
setTextResource
Link copied to clipboard
fun setTextResource(@StringRes() value: Int): Balloon.Builder
sets the main text content of the popup using resource.
setTextSize
Link copied to clipboard
fun setTextSize(@Sp() value: Float): Balloon.Builder
sets the size of the main text content.
setTextSizeResource
Link copied to clipboard
fun setTextSizeResource(@DimenRes() value: Int): Balloon.Builder
sets the size of the main text content using dimension resource.
setTextTypeface
Link copied to clipboard
fun setTextTypeface(value: Typeface): Balloon.Builder
sets the typeface of the main text content.
fun setTextTypeface(value: Int): Balloon.Builder
sets the typeface of the main text content.
setWidth
Link copied to clipboard
fun setWidth(@Dp() value: Int): Balloon.Builder
sets the width size.
setWidthRatio
Link copied to clipboard
fun setWidthRatio(value: Float): Balloon.Builder
sets the width size by the display screen size ratio.
setWidthResource
Link copied to clipboard
fun setWidthResource(@DimenRes() value: Int): Balloon.Builder
sets the width size using a dimension resource.

Properties

alpha
Link copied to clipboard
var alpha: Float = 1f
arrowAlignAnchorPadding
Link copied to clipboard
var arrowAlignAnchorPadding: Int = 0
arrowAlignAnchorPaddingRatio
Link copied to clipboard
var arrowAlignAnchorPaddingRatio: Float = 2.5f
arrowBottomPadding
Link copied to clipboard
var arrowBottomPadding: Int = 0
arrowColor
Link copied to clipboard
var arrowColor: Int
arrowColorMatchBalloon
Link copied to clipboard
var arrowColorMatchBalloon: Boolean = false
arrowDrawable
Link copied to clipboard
var arrowDrawable: Drawable? = null
arrowElevation
Link copied to clipboard
var arrowElevation: Float = 0f
arrowHalfSize
Link copied to clipboard
val arrowHalfSize: Float
arrowLeftPadding
Link copied to clipboard
var arrowLeftPadding: Int = 0
arrowOrientation
Link copied to clipboard
var arrowOrientation: ArrowOrientation
arrowOrientationRules
Link copied to clipboard
var arrowOrientationRules: ArrowOrientationRules
arrowPosition
Link copied to clipboard
var arrowPosition: Float = 0.5f
arrowPositionRules
Link copied to clipboard
var arrowPositionRules: ArrowPositionRules
arrowRightPadding
Link copied to clipboard
var arrowRightPadding: Int = 0
arrowSize
Link copied to clipboard
var arrowSize: Int
arrowTopPadding
Link copied to clipboard
var arrowTopPadding: Int = 0
autoDismissDuration
Link copied to clipboard
var autoDismissDuration: Long
backgroundColor
Link copied to clipboard
var backgroundColor: Int
backgroundDrawable
Link copied to clipboard
var backgroundDrawable: Drawable? = null
balloonAnimation
Link copied to clipboard
var balloonAnimation: BalloonAnimation
balloonAnimationStyle
Link copied to clipboard
var balloonAnimationStyle: Int
balloonHighlightAnimation
Link copied to clipboard
balloonHighlightAnimationStartDelay
Link copied to clipboard
var balloonHighlightAnimationStartDelay: Long = 0L
balloonHighlightAnimationStyle
Link copied to clipboard
var balloonHighlightAnimationStyle: Int
balloonOverlayAnimation
Link copied to clipboard
var balloonOverlayAnimation: BalloonOverlayAnimation
balloonOverlayAnimationStyle
Link copied to clipboard
var balloonOverlayAnimationStyle: Int
balloonRotateAnimation
Link copied to clipboard
var balloonRotateAnimation: BalloonRotateAnimation? = null
circularDuration
Link copied to clipboard
var circularDuration: Long = 500L
cornerRadius
Link copied to clipboard
var cornerRadius: Float
dismissWhenClicked
Link copied to clipboard
var dismissWhenClicked: Boolean = false
dismissWhenLifecycleOnPause
Link copied to clipboard
var dismissWhenLifecycleOnPause: Boolean = false
dismissWhenOverlayClicked
Link copied to clipboard
var dismissWhenOverlayClicked: Boolean = true
dismissWhenShowAgain
Link copied to clipboard
var dismissWhenShowAgain: Boolean = false
dismissWhenTouchOutside
Link copied to clipboard
var dismissWhenTouchOutside: Boolean = true
elevation
Link copied to clipboard
var elevation: Float
height
Link copied to clipboard
var height: Int
iconColor
Link copied to clipboard
var iconColor: Int
iconDrawable
Link copied to clipboard
var iconDrawable: Drawable? = null
iconForm
Link copied to clipboard
var iconForm: IconForm? = null
iconGravity
Link copied to clipboard
var iconGravity: IconGravity
iconHeight
Link copied to clipboard
var iconHeight: Int
iconSpace
Link copied to clipboard
var iconSpace: Int
iconWidth
Link copied to clipboard
var iconWidth: Int
isAttachedInDecor
Link copied to clipboard
var isAttachedInDecor: Boolean = true
isFocusable
Link copied to clipboard
var isFocusable: Boolean = true
isRtlLayout
Link copied to clipboard
var isRtlLayout: Boolean
isStatusBarVisible
Link copied to clipboard
var isStatusBarVisible: Boolean = true
isVisibleArrow
Link copied to clipboard
var isVisibleArrow: Boolean = true
isVisibleOverlay
Link copied to clipboard
var isVisibleOverlay: Boolean = false
layout
Link copied to clipboard
var layout: View? = null
layoutRes
Link copied to clipboard
var layoutRes: Int? = null
lifecycleOwner
Link copied to clipboard
var lifecycleOwner: LifecycleOwner? = null
marginBottom
Link copied to clipboard
var marginBottom: Int = 0
marginLeft
Link copied to clipboard
var marginLeft: Int = 0
marginRight
Link copied to clipboard
var marginRight: Int = 0
marginTop
Link copied to clipboard
var marginTop: Int = 0
maxWidth
Link copied to clipboard
var maxWidth: Int
maxWidthRatio
Link copied to clipboard
var maxWidthRatio: Float
minWidth
Link copied to clipboard
var minWidth: Int = 0
minWidthRatio
Link copied to clipboard
var minWidthRatio: Float
movementMethod
Link copied to clipboard
var movementMethod: MovementMethod? = null
onBalloonClickListener
Link copied to clipboard
var onBalloonClickListener: OnBalloonClickListener? = null
onBalloonDismissListener
Link copied to clipboard
var onBalloonDismissListener: OnBalloonDismissListener? = null
onBalloonInitializedListener
Link copied to clipboard
var onBalloonInitializedListener: OnBalloonInitializedListener? = null
onBalloonOutsideTouchListener
Link copied to clipboard
var onBalloonOutsideTouchListener: OnBalloonOutsideTouchListener? = null
onBalloonOverlayClickListener
Link copied to clipboard
var onBalloonOverlayClickListener: OnBalloonOverlayClickListener? = null
onBalloonOverlayTouchListener
Link copied to clipboard
var onBalloonOverlayTouchListener: View.OnTouchListener? = null
onBalloonTouchListener
Link copied to clipboard
var onBalloonTouchListener: View.OnTouchListener? = null
overlayColor
Link copied to clipboard
var overlayColor: Int
overlayPadding
Link copied to clipboard
var overlayPadding: Float = 0f
overlayPaddingColor
Link copied to clipboard
var overlayPaddingColor: Int
overlayPosition
Link copied to clipboard
var overlayPosition: Point? = null
overlayShape
Link copied to clipboard
var overlayShape: BalloonOverlayShape
paddingBottom
Link copied to clipboard
var paddingBottom: Int = 0
paddingLeft
Link copied to clipboard
var paddingLeft: Int = 0
paddingRight
Link copied to clipboard
var paddingRight: Int = 0
paddingTop
Link copied to clipboard
var paddingTop: Int = 0
preferenceName
Link copied to clipboard
var preferenceName: String? = null
runIfReachedShowCounts
Link copied to clipboard
var runIfReachedShowCounts: () -> Unit? = null
showTimes
Link copied to clipboard
var showTimes: Int = 1
supportRtlLayoutFactor
Link copied to clipboard
var supportRtlLayoutFactor: Int
text
Link copied to clipboard
var text: CharSequence
textColor
Link copied to clipboard
var textColor: Int
textForm
Link copied to clipboard
var textForm: TextForm? = null
textGravity
Link copied to clipboard
var textGravity: Int
textIsHtml
Link copied to clipboard
var textIsHtml: Boolean = false
textSize
Link copied to clipboard
@Sp()
var textSize: Float = 12f
textTypeface
Link copied to clipboard
var textTypeface: Int
textTypefaceObject
Link copied to clipboard
var textTypefaceObject: Typeface? = null
width
Link copied to clipboard
var width: Int
widthRatio
Link copied to clipboard
var widthRatio: Float