Skip to main content
0 votes
1 answer
104 views

I'm working on a library that modifies the appearance of Views at runtime, "live". I need to insert some draw operations z-wise-between a View's background and its contents – i.e., right ...
zed-alpha's user avatar
  • 647
0 votes
0 answers
62 views

I'd like to draw a path that consists of multiple colors on a Jetpack Compose canvas. The color of the path changes when it gets above or below a certain Y value. And also auto-selected 2 points of ...
Mahbub Mukul's user avatar
0 votes
0 answers
65 views

I'm creating an AnimatedVisibility-like API that operates on a Bitmap of the content for enter-exit transitions. I'm using the recommended way to draw a composable's content into a bitmap. Basically ...
Calamity's user avatar
  • 1,060
0 votes
1 answer
64 views

Is there a way to make Android print Canvas RTL? Make the canvas.drawText() behave for RTL (right to left text, like Arabic and Hebrew)? (And RTL alignment should be set to always left (so that ...
Jan Bergström's user avatar
0 votes
1 answer
180 views

Im trying to achieve erasing pixel as transparent color on bitmap, Jetpack Compose. But when I load bitmap to show on canvas the erased pixels shown as black. Here my composable: @RequiresApi(Build....
samedhrmn's user avatar
  • 147
2 votes
1 answer
173 views

I have created a a canvas application. A user can draw on canvas. Now I want to save the progress of it's drawing in the Room Database. But I'm getting error for Serialization/Deserialization of ...
Adnan Aslam's user avatar
0 votes
1 answer
59 views

I'm building an Android app in Kotlin, and I want to capture a particular View (like a TextView or ImageView) as a Bitmap. I’ve read that DrawingCache can help with this, but I’m unsure if it’s the ...
Lily Monta's user avatar
2 votes
1 answer
547 views

I'm trying to draw pie chart with sections and show labels for each section. The label should be shown at the beginning of each section with a padding of 10dp from the pie chart. Here is my code: @...
testivanivan's user avatar
  • 1,554
0 votes
1 answer
36 views

When I press the button and try to draw a yellow line on SurfaceView, some random mess appears on the screen. How can I access the phone screen the fastest possible way properly to draw lines, ...
Cindy9's user avatar
  • 1
1 vote
0 answers
116 views

I'm doing some work with Canvas.drawPoint(float, float, Paint), but I found a strange thing: this method doesn't work. At first, I thought it was a problem with my code, so I wrote a simple test code: ...
L. Swifter's user avatar
  • 3,257
0 votes
0 answers
303 views

I created a custom page and also a modern command. This command gets the ID of the current entity or (if you are on a subgrid) the entity ID of the selected entity. Now I'm passing the ID from my ...
Patrick Seewald's user avatar
2 votes
1 answer
263 views

Actually i am reading this article . I am so confuse about the working of startAngle , and direction of arc in drawArc() , can anyone explain this ? I have read many answers in jetpack compose . i ...
Maham's user avatar
  • 114
-1 votes
1 answer
83 views

I want to build an app where you can draw ancient hieroglyphs on a canvas in a custom view. I have to provide over 1000 hieroglyphs in vector graphic format (for scaling mirroring etc.). The provided ...
electric_eel23's user avatar
2 votes
0 answers
96 views

I'm building a custom candlestick chart using Jetpack Compose in my Android app. The chart displays financial data, and users can zoom in/out and swipe to navigate through the candles. However, I'm ...
Hulusi Şimşek's user avatar
-1 votes
1 answer
160 views

I want to build the iOS-like Messages chat bubble in Android using the custom view class this is the code that I use to create the rounded corner rectangle and it will be based on the height and ...
Jay Dolar's user avatar

15 30 50 per page
1
2 3 4 5
254