Giter Club home page Giter Club logo

materialwidget's Introduction

MaterialWidget

Android L design widget in Android 4.0 ~ 4.4.

Screenshot

Imgur

TabIndicator

Thank PagerSlidingTabStrip for giving me some inspiration!

Usage

<com.material.widget.TabIndicator
    android:id="@+id/indicator"
    android:background="@color/primary_color"
    android:layout_width="match_parent"
    android:layout_height="50dp"/>

Attribute

<attr name="tab_text_size" format="dimension"/>
<attr name="tab_text_color" format="color"/>
<attr name="tab_text_selected_color" format="color"/>
<attr name="tab_text_disabled_color" format="color"/>
<attr name="tab_ripple_color" format="color"/>
<attr name="tab_underline_color" format="color"/>
<attr name="tab_underline_height" format="dimension"/>
<attr name="tab_max_column" format="integer"/>

CircleButton

Usage

<com.material.widget.CircleButton
    android:id="@+id/circle_button"
    widget:circle_icon="@drawable/ic_add"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"/>

Attribute

<attr name="circle_icon" format="reference"/>
<attr name="circle_color" format="color"/>
<attr name="circle_shadow_radius" format="float"/>
<attr name="circle_shadow_offset_x" format="float"/>
<attr name="circle_shadow_offset_y" format="float"/>
<attr name="circle_shadow_color" format="color"/>

PaperButton

Usage

<com.material.widget.PaperButton
    widget:paper_text="Paper Button"
    android:layout_width="160dp"
    android:layout_height="54dp"/>

Attribute

<attr name="paper_text" format="string"/>
<attr name="paper_text_size" format="dimension"/>
<attr name="paper_text_color" format="color"/>
<attr name="paper_font" format="string"/>
<attr name="paper_color" format="color"/>
<attr name="paper_corner_radius" format="dimension"/>
<attr name="paper_shadow_radius" format="float"/>
<attr name="paper_shadow_offset_x" format="float"/>
<attr name="paper_shadow_offset_y" format="float"/>
<attr name="paper_shadow_color" format="color"/>

materialwidget's People

Watchers

 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.