Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

saiimons/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 KitKat

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • Java 86.2%
  • Groovy 13.8%

AltStyle によって変換されたページ (->オリジナル) /