Giter Club home page Giter Club logo

cardsui-for-android's Introduction

CardsUI

An open source library offering the popular Google Now & Google Play cards views

Google Play Cards

This new type of card based on the new Google play design are highly customizable.

The parameters include :

  • Title text (String)
  • Description text (String)
  • Title color (String)
  • Stripe color (String)
  • Menu overflow (Boolean)
  • Touch feedback on click (Boolean)

Here is an example :

mCardView.addCard(new MyPlayCard(
        "Different Colors for Title & Stripe", 
        "You can set any color for the title and any other color for the left stripe", 
        "#f2a400", "#9d36d0", true, false));

Additionnal Features

In addition to the Google Play cards, I made a few changes to the original library by Nadav Fima.

Those changes include :

  • Ability to set regular cards's description text programmatically

Called like this :

mCardView.addCard(new MyCard("title string", "description string");
  • Ability to set stack titles's color programmatically

Called like this :

CardStack stack = new CardStack();
stack.setTitle("Card Title");
stack.setColor("#33b5e5");
mCardView.addStack(stack);

CardsUI Generator

I'm working on a supplementary example app for the CardsUI library. This app includes a little daemon to generate cards and set their parameters with a nice animated gui. Ultimately, the aim of this app will be to generate a zip file containing the code & resources needed for the cards "activity" the user generated in the app. Considering that the cards layout needs to be on the app side, and not on the library side, this could be useful.

screenshot1 screenshot2 screenshot3 screenshot4 screenshot5 screenshot6

cardsui-for-android's People

Contributors

androguide avatar aeefire avatar nadavfima avatar jakewharton avatar mrwonderman avatar goodsir42 avatar leandros avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.