Questions tagged [android-compose-canvas]
5 questions
17
votes
2 answers
How to outline text in Jetpack Compose
I have a Jetpack Compose Text() element that I'd like to outline in black like so .
Anyone know how to do this?
I've tried using the border() modifier, but that just adds a border around the rectangular area containing the text. I've also tried…

ichen2
- 396
- 1
- 5
- 13
1
vote
1 answer
How to draw this wavy circle using Android canvas?
Trying to draw this wavy circle using Android canvas. Have tried using a Bezier curve, but not getting any good results.

mkki
- 312
- 2
- 13
1
vote
4 answers
Compose drawText going off screen
I'm using the following code to draw text onto a Canvas, but the text as you can see from the photo is going off the screen, rather than adhering to the width parameters i issue to the Canvas, why is this happening?
This doesn't seem to happen if i…

alfietap
- 1,585
- 1
- 15
- 38
0
votes
1 answer
Jetpack Compose: How to draw a path like this
I wanted to show two points in this way:
Is there some reference that I can look up?

Diyorbek Hamdamov
- 33
- 4
0
votes
1 answer
Android: compose drawArc would not get centered within `Box`
I am trying to show progress using drawArc for compose. I have tried drawBehind modifier to draw a background circle and not trying to draw another circle on top of it to show the progress. The problems is, no matter what I try, the arc turns out to…

oop
- 124
- 1
- 9