public void setCardSizeRatio(float cardSizeRatio) {
        this.mCardRatio = cardSizeRatio;
        setCardSize(false);
    }
set view adapter

@param adapter adapter
infinite-cards/src/main/java/com/bakerj/infinitecards/InfiniteCardView.java