question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Corner radius doesn't work when using custom layout without padding

See original GitHub issue

Please complete the following information:

  • Library Version 1.1.2
  • Affected Device(s) Emulator
Screen Shot 2020-03-24 at 15 59 55
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:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
skydovescommented, Apr 3, 2020

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. 🙏

1reaction
ivanschuetzcommented, Apr 3, 2020

Confirm that it’s working 👍

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found