Can we optimize the code? As the imagebuttons have the same structure but just different colours, So was it necessary to create 4 different drawables for that?
Please make a video on How to create a screen recorder app and how to open front camera by default (kotlin) . There is no helping material on this topic, it ia a humble request.
Why I can't add my own colors to it when I assigned the color in main activity it is showing default colors not which I created in color. Xml file.. How can i use that colors
if you facing this erro "Dependency 'androidx.emoji2:emoji2:1.2.0' requires 'compileSdkVersion' to be set to 32 or higher. Compilation target for module ':app' is 'android-31'" go to gradel file set sdk versions to 32 and add this dependency-> implement 'androidx.emoji2:emoji2:1.2.0' sync and run
Hello, I tried this code and it is not working for me. I receive no errors from compilation or runtime, but when I run the app everything starts perfectly fine, the button toasts work as expected, but when I touch the screen and drag my finger, nothing happens (no lines in the screen). Can you help me know why this is happening?
this is a really good tutorial! Thanks for posting it.
I finished! thank you!
excellent and interesting tutorial
good work keep going
Can we optimize the code? As the imagebuttons have the same structure but just different colours, So was it necessary to create 4 different drawables for that?
Instead of lines, how can I draw rectangles or circles?
Very Nice tutorial keep it up sir👍🏻
Please make a video on How to create a screen recorder app and how to open front camera by default (kotlin) . There is no helping material on this topic, it ia a humble request.
Thank you! this helped me in my project.
Awesome tutorial ❤,,,,Plzz make more projects in kotlin language ✨
Awesome & thanku 🙏🏻
Very very thanks, how can erase by moving eraser on drawing instead of whole at once.
you can make a paint brush with white color (matching the color of background) and use it as eraser.
Hello sir , Canvas is not working smoothly, such as I want to draw circle but it looks like hexagon or else. Please check it.
Same problem
Excelent tutorial!!.... we could add a button to save the final draw?... or to show in another Layout??... thanks!!
Why I can't add my own colors to it when I assigned the color in main activity it is showing default colors not which I created in color. Xml file.. How can i use that colors
Thanks for getting in kotlin language.
keep growing gfg
thank you so much
Hello! I would like to ask how to do it smartly so that you don't draw on the buttons. Thanks
class KotlinView : View {
constructor(context: Context) : this(context, null)
constructor(context: Context, attrs: AttributeSet?) : this(context, attrs, 0)
constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int) : super(context, attrs, defStyleAttr) {
...
}
}
Type mismatch: inferred type is Int but Color was expected.24.32
if you facing this erro "Dependency 'androidx.emoji2:emoji2:1.2.0' requires 'compileSdkVersion' to be set to 32 or higher.
Compilation target for module ':app' is 'android-31'"
go to gradel file set sdk versions to 32 and add this dependency-> implement 'androidx.emoji2:emoji2:1.2.0' sync and run
How I can convert my draw in bitmap ?
17:42 where can i learn this
LayoutParams is not working in my code.... Help me
Red line of error is shown in LayoutParams
19:06
Can I somehow get the drawn image and turn it into a Bitmap?
Thank u so much sir
I have done my project successfully in one day
Thx so much
Thanks bro
Hello, I tried this code and it is not working for me. I receive no errors from compilation or runtime, but when I run the app everything starts perfectly fine, the button toasts work as expected, but when I touch the screen and drag my finger, nothing happens (no lines in the screen). Can you help me know why this is happening?
Same with me
Can anyone plz help
How can i bold ?
Got error
android on a Mac? WTF
Please can you going slower ? You are going to quick... thanks you :)
This guy teaches in tutedude
We need project with Java. Not kotlin..please make project using Java
Go on tool button in android studio then on kotlin then then kotlin bytecode then decompile and u will get code ni java
@@abhaychandra5249 ohh thanks bro
java is dying. we need kotlin man
cannot access androidx.lifecycle.lifecycleowner kotlin