Skip to content

Material design button in Jelly Bean and Kita.

Notifications You must be signed in to change notification settings

mousha/MaterialButton

Repository files navigation

MaterialButton

Material design button in Jelly Bean and Kita.

Screenshot

Imgur

Usage

Text Button

<com.keith.mb.MaterialButton
    mb:text="Material"
    mb:text_color="#ff424242"
    mb:text_size="16sp"
    mb:color_normal="#ffffffff"
    mb:color_ripple="#ffeaeaea"
    mb:color_shadow="#ffd4d4d4"
    mb:corner_radius="2dp"
    android:layout_width="150dp"
    android:layout_height="50dp"/>

Floating Button

<com.keith.mb.MaterialButton
    mb:icon="@drawable/add"
    mb:color_normal="#ff303f9f"
    mb:color_ripple="#ff283593"
    mb:color_shadow="#ffbebebe"
    mb:corner_radius="32dp"
    android:layout_width="64dp"
    android:layout_height="64dp"/>

License

Licensed under the MIT license

About

Material design button in Jelly Bean and Kita.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published