RichButtons

'RichButtons' is a set of button styles for Android applications.

License

License

GroupId

GroupId

com.github.ksoichiro
ArtifactId

ArtifactId

richbuttons
Last Version

Last Version

0.1.1
Release Date

Release Date

Type

Type

apklib
Description

Description

RichButtons
'RichButtons' is a set of button styles for Android applications.
Project Organization

Project Organization

Soichiro Kashima

Download richbuttons

Dependencies

provided (1)

Group / Artifact Type Version
com.google.android : android jar 4.1.1.4

Project Modules

There are no modules declared in this project.

RichButtons

Build Status Maven Central

'RichButtons' is a set of button styles for Android applications. All of the styles are made of XML.

Screenshot

Install

Eclipse

  • The 'richbuttons' folder is the main library. Please import it into the Eclipse or other IDEs.
  • Or just copy files in the library folder into your project.

Gradle

Add a dependency to your build.gradle.

dependencies {
    compile 'com.github.ksoichiro:richbuttons:0.1.1@aar'
}

Usage

Styles of the buttons such as background and text color are defined as <style>. Apply the styles which name starts with RbButton. to the your buttons like following:

    <Button
        style="@style/RbButton.Blue"
        android:text="RbButton.Blue" />

If you want to customize styles, directly modify the definition in the library or inherit styles.

Blue


    <Button
        style="@style/RbButton.Blue"
        android:text="RbButton.Blue" />

Purple


    <Button
        style="@style/RbButton.Purple"
        android:text="RbButton.Purple" />

Green


    <Button
        style="@style/RbButton.Green"
        android:text="RbButton.Green" />

Yellow


    <Button
        style="@style/RbButton.Yellow"
        android:text="RbButton.Yellow" />

Red


    <Button
        style="@style/RbButton.Red"
        android:text="RbButton.Red" />

Glossy


    <Button
        style="@style/RbButton.Glossy"
        android:text="RbButton.Glossy" />

Inverse


    <Button
        style="@style/RbButton.Inverse"
        android:text="RbButton.Inverse" />

Inverse.Red


    <Button
        style="@style/RbButton.Inverse.Red"
        android:text="RbButton.Inverse.Red" />

Inverse.Blue


    <Button
        style="@style/RbButton.Inverse.Blue"
        android:text="RbButton.Inverse.Blue" />

Inverse.LightBlue


    <Button
        style="@style/RbButton.Inverse.LightBlue"
        android:text="RbButton.Inverse.LightBlue" />

Inverse.Green


    <Button
        style="@style/RbButton.Inverse.Green"
        android:text="RbButton.Inverse.Green" />

Inverse.Orange


    <Button
        style="@style/RbButton.Inverse.Orange"
        android:text="RbButton.Inverse.Orange" />

Inverse.Gray


    <Button
        style="@style/RbButton.Inverse.Gray"
        android:text="RbButton.Inverse.Gray" />

Inverse.Black


    <Button
        style="@style/RbButton.Inverse.Black"
        android:text="RbButton.Inverse.Black" />

Inverse.Rounded


    <Button
        style="@style/RbButton.Inverse.Rounded"
        android:text="RbButton.Inverse.Rounded" />

Inverse.Rounded.Red


    <Button
        style="@style/RbButton.Inverse.Rounded.Red"
        android:text="RbButton.Inverse.Rounded.Red" />

Inverse.Rounded.Blue


    <Button
        style="@style/RbButton.Inverse.Rounded.Blue"
        android:text="RbButton.Inverse.Rounded.Blue" />

Inverse.Rounded.LightBlue


    <Button
        style="@style/RbButton.Inverse.Rounded.LightBlue"
        android:text="RbButton.Inverse.Rounded.LightBlue" />

Inverse.Rounded.Green


    <Button
        style="@style/RbButton.Inverse.Rounded.Green"
        android:text="RbButton.Inverse.Rounded.Green" />

Inverse.Rounded.Orange


    <Button
        style="@style/RbButton.Inverse.Rounded.Orange"
        android:text="RbButton.Inverse.Rounded.Orange" />

Inverse.Rounded.Gray


    <Button
        style="@style/RbButton.Inverse.Rounded.Gray"
        android:text="RbButton.Inverse.Rounded.Gray" />

Inverse.Rounded.Black


    <Button
        style="@style/RbButton.Inverse.Rounded.Black"
        android:text="RbButton.Inverse.Rounded.Black" />

Darken


    <Button
        style="@style/RbButton.Darken"
        android:text="RbButton.Darken" />

Recessed


    <Button
        style="@style/RbButton.Recessed"
        android:text="RbButton.Recessed" />

ICS


    <Button
        style="@style/RbButton.ICS"
        android:text="RbButton.ICS" />

ICS.Black


    <Button
        style="@style/RbButton.ICS.Black"
        android:text="RbButton.ICS.Black" />

Plastic


    <Button
        style="@style/RbButton.Plastic"
        android:text="RbButton.Plastic" />

Plastic.Rounded


    <Button
        style="@style/RbButton.Plastic.Rounded"
        android:text="RbButton.Plastic.Rounded" />

Samples

  • Sample applications using this library are included in the samples folder.

Developed By

License

Copyright (c) 2013 Soichiro Kashima.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Versions

Version
0.1.1
0.1.0