{"id":24969446,"url":"https://github.com/intrepidpursuits/roundedbutton-android","last_synced_at":"2025-03-29T04:47:58.012Z","repository":{"id":151543771,"uuid":"94925278","full_name":"IntrepidPursuits/roundedbutton-android","owner":"IntrepidPursuits","description":null,"archived":false,"fork":false,"pushed_at":"2017-09-01T18:46:49.000Z","size":144,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-02-03T14:46:23.003Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IntrepidPursuits.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-20T18:58:16.000Z","updated_at":"2017-06-20T19:01:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"55515d7a-4b60-4fd4-95a4-1b7ac28c6252","html_url":"https://github.com/IntrepidPursuits/roundedbutton-android","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntrepidPursuits%2Froundedbutton-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntrepidPursuits%2Froundedbutton-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntrepidPursuits%2Froundedbutton-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntrepidPursuits%2Froundedbutton-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IntrepidPursuits","download_url":"https://codeload.github.com/IntrepidPursuits/roundedbutton-android/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246140551,"owners_count":20729798,"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":[],"created_at":"2025-02-03T14:38:15.247Z","updated_at":"2025-03-29T04:47:58.006Z","avatar_url":"https://github.com/IntrepidPursuits.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RoundedButton\nA small library that adds a button widget with completely rounded corners.\n\nSetup\n=======\nAdd the following lines to your build.gradle file:\n```\ndependencies {\n    compile \"io.intrepid.roundedbutton:roundedbutton:1.0.0\"\n}\n```\n\nDetails\n=======\nA simple button widget with a rectanglular background where both ends are cornered like a semi circle. Both the fill color and the stroke color/width can be customized. The widget also automatically darkens the fill color when touched (default behavior, can be set to a specific color too) and uses a different color for disabled state.\n\u003cbr/\u003e\n\u003cimg src=\"screenshot.png\" /\u003e\n\n\nUsage\n=====\nSimply include `io.intrepid.roundedbutton.RoundedButton` in the layout xml and treat it like any other TextView/Button. The fill color, stroke color, stroke width, pressed color, and disabled color can also be customized:\n```\n\u003cio.intrepid.roundedbutton.RoundedButton\n    android:layout_width=\"200dp\"\n    android:layout_height=\"48dp\"\n    android:layout_marginBottom=\"32dp\"\n    android:text=\"Click\"\n    android:textColor=\"@android:color/black\"\n    android:textSize=\"16sp\"\n    app:rb_fill_color=\"@color/colorAccent\"\n    app:rb_stroke_color=\"#11dd11\"\n    app:rb_stroke_width=\"0.5dp\"\n    app:rb_pressed_color=\"#303f9f\"\n    app:rb_disabled_color=\"#dd1111\"\n    /\u003e\n```\n\nThe widget can also be instantiated programmatically just like other Views.\n\nLicense\n=======\n```\nCopyright 2017 Intrepid Pursuits LLC.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintrepidpursuits%2Froundedbutton-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintrepidpursuits%2Froundedbutton-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintrepidpursuits%2Froundedbutton-android/lists"}