Giter VIP home page Giter VIP logo

Comments (8)

JohnGeorgiou avatar JohnGeorgiou commented on July 24, 2024 2

Look at the attached drawing to see what I mean
balloon

from balloon.

znakeeye avatar znakeeye commented on July 24, 2024 1

Why not use a clipping rectangle (the balloon) for the arrow?

The suggested hack is not desirable.

from balloon.

skydoves avatar skydoves commented on July 24, 2024

Hi, I was thinking about this issue for a few days, but there is no clear way to resolve this issue.
Because of the body of the balloon and the arrow is actually separated each other.
Thank you for your issue :)

from balloon.

JohnGeorgiou avatar JohnGeorgiou commented on July 24, 2024

Yes I see,
the two items have the same background, the only thing you have to do is to add a line with the background color over the arrow,
I could add a commit, but unfortunately Im a Java person

from balloon.

skydoves avatar skydoves commented on July 24, 2024

Making a stroke on a balloon (except the bottom, only oblique sides) is an easy problem.
But we should remove the little line against the position of the arrow on the balloon body.
If not there will be a boundary between the arrow and the balloon body.

from balloon.

XLAR-8 avatar XLAR-8 commented on July 24, 2024

Hey @skydoves, great work with the lib.
are we expecting this feature anytime soon?
is there a way to set alpha to arrow too (below code gives color difference in balloon and arrow)?
and how to set border highlight(strokes) at present?

class BalloonFactory : Balloon.Factory() {
    override fun create(
        context: Context,
        lifecycle: LifecycleOwner?
    ): Balloon = createBalloon(context) {
        setArrowSize(17)
        setHeight(45)
        setWidth(160)
        setAlpha(0.8f)
        setArrowColorResource(R.color.trans_secondary_80)
        setCornerRadius(4f)
        setPadding(4)
        setTextResource(R.string.series_state_complete_msg)
        setTextSize(TEXT_SIZE.toFloat())
        setTextColorResource(R.color.fefefe)
        setBackgroundColorResource(R.color.black_04pc)
        setLifecycleOwner(lifecycleOwner)
        arrowOrientation = ArrowOrientation.LEFT
        build()
    }
}

from balloon.

emretanerc avatar emretanerc commented on July 24, 2024

Any progress? We have difficulty reading because the balloon is opened on a white background. We want to change the border color.

from balloon.

rezafaraji93 avatar rezafaraji93 commented on July 24, 2024

We are also looking for this change. the border of balloon!

from balloon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.