Corner radius not set properly
vijay81 opened this issue · 2 comments
vijay81 commented
Please complete the following information:
- Library Version [v1.6.3]
After set corner radius programmatically than some of that corner color not reflet
Add a clear description about the problem.
Expected:
Set corner radius as passed without any other background color
new Balloon.Builder(context)
.setLayout(customView)
.setCornerRadius(10.0F)
.setHeight(getHeight())
.setWidth(getWidth())
.setWidthRatio(widthRatio)
.setIsVisibleArrow(isArrowVisible)
.setArrowSize(16)
.setArrowColor(ContextCompat.getColor(context, R.color.bg_side_menu))
.setArrowPositionRules(ArrowPositionRules.ALIGN_BALLOON)
.setBalloonAnimation(BalloonAnimation.OVERSHOOT)
.setIsVisibleOverlay(true)
.setDismissWhenClicked(true)
.setDismissWhenTouchOutside(false)
.setDismissWhenOverlayClicked(false)
.setOverlayColorResource(R.color.transparent)
.setOnBalloonOverlayClickListener(() -> {
dismiss();
listener.onBottomSheetClick(-1, null, null);
})
.setLifecycleOwner(lifecycleOwner);