Hi All !
First time on this forum, I started recently to code "Android" with Kotlin (I am from C++) and I have a problem with my code. I would like to add a CardView on my LinearLayout (call "content_main").
To do that, I created a CardView class (call "EspCard") that i called in my MainActivity. After that, I add it to my content_main layout but my CardView is not visible. I have no error on the log.
I put the files in attachment (in a zip file).
I hope you can help me !
Thanks for your time,
Alex
First time on this forum, I started recently to code "Android" with Kotlin (I am from C++) and I have a problem with my code. I would like to add a CardView on my LinearLayout (call "content_main").
To do that, I created a CardView class (call "EspCard") that i called in my MainActivity. After that, I add it to my content_main layout but my CardView is not visible. I have no error on the log.
I put the files in attachment (in a zip file).
I hope you can help me !

Thanks for your time,
Alex