mutualmobile / CardStackUI

An iOS Healthbook-like highly customisable stack of cards implementation for Android
Apache License 2.0
464 stars 73 forks source link

Custom width and height for Cards. #18

Open ghost opened 8 years ago

ghost commented 8 years ago

Currently the width and height are hard coded in the FrameLayout. This needs to be address if developers require to customize their layout. For e.g. changing the height of the card in card.xml or settings_card.xml does not have changes on the UI.

ghost commented 8 years ago

You could probably make setters, allowing developers to set custom width and height as you have it for CardGap and CardGapBottom.

mustafa01ali commented 8 years ago

Hey @OmkarAmberkar, that's a good suggestion! Would you mind raising a PR with the changes? We'll be happy to review and merge it :)

ghost commented 8 years ago

Sure 👍