Drawing on Jetpack Compose Canvas - Android
ฝัง
- เผยแพร่เมื่อ 20 ก.ย. 2024
- In this video, you'll learn how to draw on Canvas in Jetpack Compose
Repository: github.com/dan...
Let's connect 🤗:
/ daniel-atitienei
Blog: / daniel.atitienei
Do you like my content? Here you can buy me a coffee ☕:
www.buymeacoff...
#jetpackcompose #android #kotlin #androiddeveloper #xml #compose #development #developer #programmer #AndroidDevelopment #mobiledevelopment #appdevelopment #programmingtips #androidtips #mobileappdevelopment #androidstudio #KotlinProgramming #googleplaystore #userinterfacedesign #apiintegration #softwareengineering
Please continue to make the video, it has been very helpful to me. Thank you
You're welcome!
I will continue to post other videos on different topics, hope you'll like them!
Really cool. Inspired me to build drawing app for my 3years old daugher :)
That's so cool!!
i don't understand why change.position reduced by dragAmount 😢
Nice work man its really good i want to know which is this theme you are using?
Thank you! Material Theme UI plugin with the Material Darker theme, also I am using the new UI that is on Canary version and Beta.
What theme plugin do you use for android studio? Good job btw
Thank you! I use the Material Theme UI plugin with Material Darker theme
Can you help me with the exoplayer but an example in which it has a text image and URL and when I click on the card with its text image it plays the corresponding video
Column {
AnimatedContent(imageClicked) { isClicked ->
if (isClicked) {
Image(modifier = Modifier.clickable { isClicked = true })
} else {
VideoPlayer
}
}
Text
}
To implement the video player take a look at this article: medium.com/@daniel.atitienei/custom-media3-exoplayer-layout-with-jetpack-compose-android-72b9ee422be6
@@daniel.atitienei I'm going to try, why don't you upload an exoplayer video in jetpack compose by calling the resources to a lazyGrid please?
how to add an eraser to this canvas screen?
You can add a button on the screen that changes the drawLine color to white
@@daniel.atitienei How to do it? Could you explain, please?