Balloon v1.2.4 Release Notes

Release Date: 2020-10-15 // over 3 years ago
  • ๐Ÿš€ ๐ŸŽ‰ Released a new version 1.2.4! ๐ŸŽ‰

    What's New?

    • โž• Added an overlay window for highlighting an anchor view.

    We can show an overlay window over the whole screen except an anchor view.

    .setIsVisibleOverlay(true) // sets the visibility of the overlay for highlighting an anchor..setOverlayColorResource(R.color.overlay) // background color of the overlay using a color resource..setOverlayPadding(6f) // sets a padding value of the overlay shape internally..setBalloonOverlayAnimation(BalloonOverlayAnimation.FADE) // default is fade.
    

    We can change the shape of the highlighting using .setOverlayShape.

    .setOverlayShape(BalloonOverlayOval) // default shape.setOverlayShape(BalloonOverlayRect) .setOverlayShape(BalloonOverlayCircle(radius = 36f)) .setOverlayShape(BalloonOverlayRoundRect(12f, 12f))
    

    And we can set the specific position of the overlay shape using the below method.

    .setOverlayPosition(Point(x, y)) // sets a specific position of the overlay shape.
    

    overlay