How can I make cards fit the screen, known that I can know the number of cards only at runtime. So if I have 2 cards, each card should take 50% of its parent.
I am trying also to change the view of each card when it is clicked. <== Inside the view holder.
How can I make cards fit the screen, known that I can know the number of cards only at runtime. So if I have 2 cards, each card should take 50% of its parent. I am trying also to change the view of each card when it is clicked. <== Inside the view holder.