loopeer / CardStackView

One Custom view for show something just like cards with animations.
2.18k stars 343 forks source link

How to make each card fit screen #13

Open MotassemJa opened 7 years ago

MotassemJa commented 7 years ago

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.