Alternate Card Styles - AaronBDC/PeepAPass GitHub Wiki
/// simplest card
card = new Card(this);
card.setText("Password"); // forty char pwd // text for password
card.setFootnote("User (@Site) "); // footer with username @ website
mCards.add(card);
//// cards using same username and password in two different layouts LEFT and FULL
//// LEFT
card = new Card(this);
card.setText("[email protected]");
card.setFootnote("2day@2oCLOCK");
card.setImageLayout(Card.ImageLayout.LEFT);
card.addImage(R.drawable.google);
card.addImage(R.drawable.netflix);
card.addImage(R.drawable.theunder);
mCards.add(card);
cardId = tm.insert(card);
/// FULL
card = new Card(this);
card.setText("[email protected]");
card.setFootnote("2day@2oCLOCK");
card.setImageLayout(Card.ImageLayout.FULL);
card.addImage(R.drawable.google);
card.addImage(R.drawable.netflix);
card.addImage(R.drawable.theunder);
mCards.add(card);
cardId = tm.insert(card);