{"id":20367918,"url":"https://github.com/ksoichiro/richbuttons","last_synced_at":"2025-04-12T05:36:46.168Z","repository":{"id":57720844,"uuid":"9252995","full_name":"ksoichiro/RichButtons","owner":"ksoichiro","description":"'RichButtons' is a set of button styles for Android applications.","archived":false,"fork":false,"pushed_at":"2014-10-26T02:42:04.000Z","size":1910,"stargazers_count":39,"open_issues_count":0,"forks_count":16,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-26T01:02:45.440Z","etag":null,"topics":["android","android-library","android-ui"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ksoichiro.png","metadata":{"files":{"readme":"README.ja.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-06T00:03:48.000Z","updated_at":"2023-10-26T09:19:28.000Z","dependencies_parsed_at":"2022-09-26T21:41:02.344Z","dependency_job_id":null,"html_url":"https://github.com/ksoichiro/RichButtons","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksoichiro%2FRichButtons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksoichiro%2FRichButtons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksoichiro%2FRichButtons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksoichiro%2FRichButtons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ksoichiro","download_url":"https://codeload.github.com/ksoichiro/RichButtons/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248524853,"owners_count":21118615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-library","android-ui"],"created_at":"2024-11-15T00:35:29.606Z","updated_at":"2025-04-12T05:36:46.117Z","avatar_url":"https://github.com/ksoichiro.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ![](richbuttons-samples/demos/res/drawable-ldpi/ic_launcher.png) RichButtons\n[![Build Status](https://travis-ci.org/ksoichiro/RichButtons.svg?branch=master)](https://travis-ci.org/ksoichiro/RichButtons)\n[![Maven Central](http://img.shields.io/maven-central/v/com.github.ksoichiro/richbuttons.svg)](https://github.com/ksoichiro/RichButtons/releases/latest)\n\nRichButtonsは、Androidアプリケーションで使うボタンのスタイルのセットです。全てXMLで作っています。\n\n![Screenshot](richbuttons-samples/images/screenshot.png \"Screenshots\")\n\n\nインストール\n===\n\n### Eclipse\n\n* libraryフォルダがライブラリ本体です。EclipseなどのIDEでAndroid Library Projectとして取り込んでください。\n* もしくは、ライブラリ内のファイルをあなたのプロジェクトへそのままコピーしてください。\n\n### Gradle\n\n```groovy\ndependencies {\n    compile 'com.github.ksoichiro:richbuttons:0.1.1@aar'\n}\n\n使い方\n===\n\nボタンの背景、文字色等のスタイルは`\u003cstyle\u003e`として定義されています。以下のように、`RbButton.`で始まるスタイルをボタンに適用してください。\n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Blue\"\n        android:text=\"RbButton.Blue\" /\u003e\n```\n\nスタイルをカスタマイズしたい場合は、ライブラリ内のスタイルの定義を変更するか、定義済みのスタイルをカスタマイズしたスタイルを作成してください。\n\n## Blue\n\n![](richbuttons-samples/images/blue.png \"default\")  \n![](richbuttons-samples/images/blue_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Blue\"\n        android:text=\"RbButton.Blue\" /\u003e\n```\n\n## Purple\n\n![](richbuttons-samples/images/purple.png \"default\")  \n![](richbuttons-samples/images/purple_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Purple\"\n        android:text=\"RbButton.Purple\" /\u003e\n```\n\n## Green\n\n![](richbuttons-samples/images/green.png \"default\")  \n![](richbuttons-samples/images/green_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Green\"\n        android:text=\"RbButton.Green\" /\u003e\n```\n\n## Yellow\n\n![](richbuttons-samples/images/yellow.png \"default\")  \n![](richbuttons-samples/images/yellow_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Yellow\"\n        android:text=\"RbButton.Yellow\" /\u003e\n```\n\n## Red\n\n![](richbuttons-samples/images/red.png \"default\")  \n![](richbuttons-samples/images/red_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Red\"\n        android:text=\"RbButton.Red\" /\u003e\n```\n\n## Glossy\n\n![](richbuttons-samples/images/glossy.png \"default\")  \n![](richbuttons-samples/images/glossy_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Glossy\"\n        android:text=\"RbButton.Glossy\" /\u003e\n```\n\n## Inverse\n\n![](richbuttons-samples/images/inverse.png \"default\")  \n![](richbuttons-samples/images/inverse_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Inverse\"\n        android:text=\"RbButton.Inverse\" /\u003e\n```\n\n## Inverse.Red\n\n![](richbuttons-samples/images/inverse.red.png \"default\")  \n![](richbuttons-samples/images/inverse.red_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Inverse.Red\"\n        android:text=\"RbButton.Inverse.Red\" /\u003e\n```\n\n## Inverse.Blue\n\n![](richbuttons-samples/images/inverse.blue.png \"default\")  \n![](richbuttons-samples/images/inverse.blue_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Inverse.Blue\"\n        android:text=\"RbButton.Inverse.Blue\" /\u003e\n```\n\n## Inverse.LightBlue\n\n![](richbuttons-samples/images/inverse.lightblue.png \"default\")  \n![](richbuttons-samples/images/inverse.lightblue_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Inverse.LightBlue\"\n        android:text=\"RbButton.Inverse.LightBlue\" /\u003e\n```\n\n## Inverse.Green\n\n![](richbuttons-samples/images/inverse.green.png \"default\")  \n![](richbuttons-samples/images/inverse.green_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Inverse.Green\"\n        android:text=\"RbButton.Inverse.Green\" /\u003e\n```\n\n## Inverse.Orange\n\n![](richbuttons-samples/images/inverse.orange.png \"default\")  \n![](richbuttons-samples/images/inverse.orange_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Inverse.Orange\"\n        android:text=\"RbButton.Inverse.Orange\" /\u003e\n```\n\n## Inverse.Gray\n\n![](richbuttons-samples/images/inverse.gray.png \"default\")  \n![](richbuttons-samples/images/inverse.gray_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Inverse.Gray\"\n        android:text=\"RbButton.Inverse.Gray\" /\u003e\n```\n\n## Inverse.Black\n\n![](richbuttons-samples/images/inverse.black.png \"default\")  \n![](richbuttons-samples/images/inverse.black_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Inverse.Black\"\n        android:text=\"RbButton.Inverse.Black\" /\u003e\n```\n\n## Inverse.Rounded\n\n![](richbuttons-samples/images/inverse.rounded.png \"default\")  \n![](richbuttons-samples/images/inverse.rounded_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Inverse.Rounded\"\n        android:text=\"RbButton.Inverse.Rounded\" /\u003e\n```\n\n## Inverse.Rounded.Red\n\n![](richbuttons-samples/images/inverse.rounded.red.png \"default\")  \n![](richbuttons-samples/images/inverse.rounded.red_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Inverse.Rounded.Red\"\n        android:text=\"RbButton.Inverse.Rounded.Red\" /\u003e\n```\n\n## Inverse.Rounded.Blue\n\n![](richbuttons-samples/images/inverse.rounded.blue.png \"default\")  \n![](richbuttons-samples/images/inverse.rounded.blue_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Inverse.Rounded.Blue\"\n        android:text=\"RbButton.Inverse.Rounded.Blue\" /\u003e\n```\n\n## Inverse.Rounded.LightBlue\n\n![](richbuttons-samples/images/inverse.rounded.lightblue.png \"default\")  \n![](richbuttons-samples/images/inverse.rounded.lightblue_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Inverse.Rounded.LightBlue\"\n        android:text=\"RbButton.Inverse.Rounded.LightBlue\" /\u003e\n```\n\n## Inverse.Rounded.Green\n\n![](richbuttons-samples/images/inverse.rounded.green.png \"default\")  \n![](richbuttons-samples/images/inverse.rounded.green_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Inverse.Rounded.Green\"\n        android:text=\"RbButton.Inverse.Rounded.Green\" /\u003e\n```\n\n## Inverse.Rounded.Orange\n\n![](richbuttons-samples/images/inverse.rounded.orange.png \"default\")  \n![](richbuttons-samples/images/inverse.rounded.orange_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Inverse.Rounded.Orange\"\n        android:text=\"RbButton.Inverse.Rounded.Orange\" /\u003e\n```\n\n## Inverse.Rounded.Gray\n\n![](richbuttons-samples/images/inverse.rounded.gray.png \"default\")  \n![](richbuttons-samples/images/inverse.rounded.gray_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Inverse.Rounded.Gray\"\n        android:text=\"RbButton.Inverse.Rounded.Gray\" /\u003e\n```\n\n## Inverse.Rounded.Black\n\n![](richbuttons-samples/images/inverse.rounded.black.png \"default\")  \n![](richbuttons-samples/images/inverse.rounded.black_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Inverse.Rounded.Black\"\n        android:text=\"RbButton.Inverse.Rounded.Black\" /\u003e\n```\n\n## Darken\n\n![](richbuttons-samples/images/darken.png \"default\")  \n![](richbuttons-samples/images/darken_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Darken\"\n        android:text=\"RbButton.Darken\" /\u003e\n```\n\n## Recessed\n\n![](richbuttons-samples/images/recessed.png \"default\")  \n![](richbuttons-samples/images/recessed_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Recessed\"\n        android:text=\"RbButton.Recessed\" /\u003e\n```\n\n## ICS\n\n![](richbuttons-samples/images/ICS.png \"default\")  \n![](richbuttons-samples/images/ICS_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.ICS\"\n        android:text=\"RbButton.ICS\" /\u003e\n```\n\n## ICS.Black\n\n![](richbuttons-samples/images/ICS.black.png \"default\")  \n![](richbuttons-samples/images/ICS.black_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.ICS.Black\"\n        android:text=\"RbButton.ICS.Black\" /\u003e\n```\n\n## Plastic\n\n![](richbuttons-samples/images/plastic.png \"default\")  \n![](richbuttons-samples/images/plastic_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Plastic\"\n        android:text=\"RbButton.Plastic\" /\u003e\n```\n\n## Plastic.Rounded\n\n![](richbuttons-samples/images/plastic.rounded.png \"default\")  \n![](richbuttons-samples/images/plastic.rounded_pressed.png \"pressed\")  \n\n```xml\n    \u003cButton\n        style=\"@style/RbButton.Plastic.Rounded\"\n        android:text=\"RbButton.Plastic.Rounded\" /\u003e\n```\n\n\nサンプル\n===\n\n* ライブラリを使用したサンプルアプリケーションは、samplesフォルダに含まれています。\n\n\n開発者\n===\n\n* Soichiro Kashima - \u003csoichiro.kashima@gmail.com\u003e\n\n\nライセンス\n===\n\n    Copyright (c) 2013 Soichiro Kashima.\n\n    Permission is hereby granted, free of charge, to any person obtaining a copy\n    of this software and associated documentation files (the \"Software\"), to deal\n    in the Software without restriction, including without limitation the rights\n    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n    copies of the Software, and to permit persons to whom the Software is\n    furnished to do so, subject to the following conditions:\n\n    The above copyright notice and this permission notice shall be included in\n    all copies or substantial portions of the Software.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n    THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksoichiro%2Frichbuttons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fksoichiro%2Frichbuttons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksoichiro%2Frichbuttons/lists"}