Corner radius doesn't work when using custom layout without padding
See original GitHub issuePlease complete the following information:
- Library Version 1.1.2
- Affected Device(s) Emulator
setArrowSize(10)
// setWidthRatio(1.0f)
setHeight(65)
setPadding(0)
// setDismissWhenTouchOutside(true)
setPaddingLeft(10)
setPaddingRight(10)
// setArrowPosition(.5f)
setSpace(10)
setCornerRadius(10f)
setAlpha(1f)
setTextColorResource(R.color.white)
setBackgroundColorResource(R.color.colorAccent)
setOnBalloonClickListener {
onClick?.invoke()
}
setBalloonAnimation(BalloonAnimation.ELASTIC)
setLifecycleOwner(lifecycleOwner)
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Apply corner radius / rounded corners to an element's content ...
i.e. round the corners of the blue part of the image below, not the green part. image showing margin, border, padding, content layout...
Read more >border-radius - CSS: Cascading Style Sheets - MDN Web Docs
The border-radius CSS property rounds the corners of an element's outer border edge. You can set a single radius to make circular corners, ......
Read more >Give Rounded Corners to Views and Layouts in Android
The corner radius determines how curved the corners are. A smaller number makes them more square, a larger number more circular. The padding...
Read more >Border Radius - Tailwind CSS
Use rounded-none to remove an existing border radius from an element. This is most commonly used to remove a border radius that was...
Read more >border-radius - CSS-Tricks
You can give any element “rounded corners” by applying a border-radius through CSS. You'll only notice if there is a color change involved....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, If you cancel sponsoring right after sponsoring via GitHub Sponsors, the subscription will be canceled automatically after next month. Or another platform. Anyway, thank you for your contributions to make grow the quality of the library. 🙏
Confirm that it’s working 👍