Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regarding on the Arrow, I've read many closed ticket on this issue, but still, #183

Closed
farsuller opened this issue Apr 8, 2021 · 3 comments

Comments

@farsuller
Copy link

farsuller commented Apr 8, 2021

and spent hours to find the fix on previous issues here, yet still occur, regarding on the arrow,
170362886_768154487217279_29643746204737055_n
Capture2
Capture

 return Balloon.Builder(context!!)
            .setArrowSize(20)
            .setArrowOrientation(ArrowOrientation.TOP)
            .setArrowPositionRules(ArrowPositionRules.ALIGN_ANCHOR)
            .setArrowPosition(0.74f)
            .setArrowColorResource(R.color.white)
            .setHeight(120)
            .setWidthRatio(.5f)
            .setPadding(12)
            .setCornerRadius(6f)
            .setTextSize(13f)
            .setText(messageToDisplay)
            .setTextColor(ContextCompat.getColor(context, R.color.black))
            .setBackgroundColor(ContextCompat.getColor(context, R.color.white))
            .setOnBalloonClickListener(onBalloonClickListener)
            .setBalloonAnimation(BalloonAnimation.FADE)
            .setLifecycleOwner(lifecycleOwner)
            .build()

https://github.com/farsuller/sampleToolTip

@farsuller farsuller changed the title I've read many many closed ticket on this issue, and spent hours to get the fix on this I've read many closed ticket on this issue, regarding on the Arrow Apr 8, 2021
@farsuller farsuller changed the title I've read many closed ticket on this issue, regarding on the Arrow regarding on the Arrow, I've read many closed ticket on this issue, but still, Apr 8, 2021
@skydoves
Copy link
Owner

skydoves commented Apr 8, 2021

Hi, I can't understand the main issue.
But I can see the arrow is not visible on the screenshot..?
Please change your background color of the Activity and re-build your app.

@farsuller
Copy link
Author

the shadow or outline of the Arrow are not visible,, I used it as showAlignBottom, so the arrow is on Top, I made it really white coz I have a project that tooltip is a must white, the arrow is visible when I use other colors. But the shadow or the elevate effect are not visible.

@skydoves
Copy link
Owner

skydoves commented Apr 9, 2021

I see. It's duplicated from #38, but there is no solution yet for this issue.
I recommend using a custom arrow that has a border instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants