Please complete the following information:
Describe the Bug:
We have rounded corners set on our popup which worked perfect in 1.6.12 but in latest releases the corners now appear squared.
Add a clear description about the problem.
We use an xml layout with the following helper to launch. This used to give rounded corners but now has square corners. Switching back to 1.6.12 shows the rounded corners.
fun Context.buildCustomBalloon(@LayoutRes layout: Int, owner: LifecycleOwner?): Balloon =
Balloon.Builder(this)
.setLayout(layout)
.setBackgroundColorResource(R.color.colors_background_default_primary)
.setCornerRadiusResource(R.dimen.radius_l)
.setArrowPositionRules(ArrowPositionRules.ALIGN_ANCHOR)
.setArrowSizeResource(R.dimen.DP_28)
.setArrowTopPaddingResource(R.dimen.spacing_s) // makes the arrow wider than it is tall
.setBalloonAnimation(BalloonAnimation.ELASTIC)
.setIsVisibleOverlay(true) // sets the visibility of the overlay (scrim) for highlighting an anchor.
.setOverlayColorResource(R.color.colors_overlay_default_primary)
.setOverlayShape(BalloonOverlayRoundRect(R.dimen.radius_m, R.dimen.radius_m))
.setOverlayPaddingResource(R.dimen.spacing_3_xs)
.setDismissWhenTouchOutside(false)
.setDismissWhenOverlayClicked(false)
.setLifecycleOwner(owner)
.build()
Expected Behavior:
The corners of the popup should continue to show with rounded corners
Please complete the following information:
Describe the Bug:
We have rounded corners set on our popup which worked perfect in 1.6.12 but in latest releases the corners now appear squared.
Add a clear description about the problem.
We use an xml layout with the following helper to launch. This used to give rounded corners but now has square corners. Switching back to 1.6.12 shows the rounded corners.
Expected Behavior:
The corners of the popup should continue to show with rounded corners