why are you using dynamic card view whereas you can dynamically create cards using extensions?
Look at the example I show you, I use Cardview and make it dynamic, after that we can make horizontal / vertical arrangements and labels, images or buttons.
it’s easy to know which id each component uses. then we can change or delete it as we like.