{"id":13639591,"url":"https://github.com/SparkYuan/SubmitButton","last_synced_at":"2025-04-19T22:33:09.888Z","repository":{"id":133897594,"uuid":"63744115","full_name":"SparkYuan/SubmitButton","owner":"SparkYuan","description":"A cool and elegant Submit Button","archived":false,"fork":false,"pushed_at":"2021-06-04T08:59:59.000Z","size":2057,"stargazers_count":558,"open_issues_count":7,"forks_count":107,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-08-03T01:15:13.240Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SparkYuan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-07-20T02:38:00.000Z","updated_at":"2024-07-27T05:59:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"8d4a85e0-d620-4ce1-b246-e059d0bcf6b4","html_url":"https://github.com/SparkYuan/SubmitButton","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/SparkYuan%2FSubmitButton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SparkYuan%2FSubmitButton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SparkYuan%2FSubmitButton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SparkYuan%2FSubmitButton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SparkYuan","download_url":"https://codeload.github.com/SparkYuan/SubmitButton/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223810564,"owners_count":17206788,"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":"2024-08-02T01:01:02.389Z","updated_at":"2024-11-09T09:31:15.915Z","avatar_url":"https://github.com/SparkYuan.png","language":"Java","readme":"# SubmitButton\nA practical, cool and elegant Submit Button\n\n## Demo\n![Demo](https://github.com/SparkYuan/SubmitButton/blob/master/pic/submitbutton.gif)\n\n## Attributes\n\n```xml\n \u003ccom.spark.submitbutton.SubmitButton\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        android:text=\"Submit\"\n        android:textColor=\"@color/gray\"\n        app:sub_btn_background=\"@color/white\"\n        app:sub_btn_duration=\"3000\"\n        app:sub_btn_line_color=\"@color/green\"\n        app:sub_btn_ripple_color=\"@color/green\"\n        app:sub_btn_tick_color=\"@color/white\" /\u003e\n\n```\n### Notice\n- SubmitButton is a subclass of TextView, so almost all attributes of TextView can be used for SubmitButton.\n- The width and height of this SubmitButton is measured by the text size and its **layout_width** and **layout_height** must be **match_parent**.\n- The default gravity of the text in this SubmitButton is **center** and can not be changed.\n\n\n## Download\n\nStep 1. Configure your project-level build.gradle to include the follow repository:\n\n```gradle\nrepositories {\n    maven {\n        url 'https://dl.bintray.com/spark/maven'\n    }\n}\n```\n\nStep 2. Add the dependency:\n\n```gradle\ndependencies {\n  compile 'me.spark:submitbutton:1.0.1'\n}\n```\n\n\n##**Lincense**\n\n```lincense\nThe MIT License (MIT)\n\nCopyright (c) 2016 Spark\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","funding_links":[],"categories":["按钮"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSparkYuan%2FSubmitButton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSparkYuan%2FSubmitButton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSparkYuan%2FSubmitButton/lists"}