Search in sources :

Example 6 with GoogleNowBirthCard

use of it.gmariotti.cardslib.demo.cards.GoogleNowBirthCard in project cardslib by gabrielemariotti.

the class BirthDayCardFragment method init2.

private void init2() {
    GoogleNowBirthCard card2 = new GoogleNowBirthCard(getActivity());
    card2.setId("myId2");
    card2.USE_VIGNETTE = 1;
    //Set card in the cardView
    CardView cardView2 = (CardView) getActivity().findViewById(R.id.carddemo_cardBirth2);
    cardView2.setCard(card2);
}
Also used : GoogleNowBirthCard(it.gmariotti.cardslib.demo.cards.GoogleNowBirthCard) CardView(it.gmariotti.cardslib.library.view.CardView)

Aggregations

GoogleNowBirthCard (it.gmariotti.cardslib.demo.cards.GoogleNowBirthCard)6 CardView (it.gmariotti.cardslib.library.view.CardView)2 CardViewNative (it.gmariotti.cardslib.library.view.CardViewNative)2