Comments (5)
I tested it but, of course, there can be an issue. What's the issue you experienced? Any snippet or image would be helpful to understand it.
from compose-bubble.
Yes, of course. This code snippet, basically does not draw the arrow on top of the bubble. It actually leaves space for it, however, it does not draw it. Or I am missing something?
val bubbleStateBottom1 = rememberBubbleState(
backgroundColor = Color(0xfffbc02d),
alignment = ArrowAlignment.TopCenter,
arrowShape = ArrowShape.TRIANGLE_ISOSCELES,
cornerRadius = 8.dp,
shadow = BubbleShadow(
elevation = 1.dp
),
padding = Padding(8.dp)
)
BubbleLayout(
modifier = Modifier.horizontalAlign(HorizontalAlignment.Center),
bubbleState = bubbleStateBottom1
) {
Text(text = "Arrow should be top center, but it is missing..", color = Color.White)
}
}
from compose-bubble.
Thanks for the feedback. I will check this and update if there are any bugs.
from compose-bubble.
In case of no issues, could you please let me know what am I missing? Thanks in advance!
from compose-bubble.
There are many issues with BubbleColumn. Since i haven't created any release yet for this library i will remove it, instead of deprecating, and create a release only with Modifier.drawBubble, Modifier.drawBubbleShape, and option to get bubble shape which you can easily add padding as big as arrow width or height to not place Composables where arrow is
from compose-bubble.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compose-bubble.