{"id":13639863,"url":"https://github.com/LongDinhF/Hamburger-Button","last_synced_at":"2025-04-20T01:32:34.019Z","repository":{"id":217102068,"uuid":"82630861","full_name":"LongDinhF/Hamburger-Button","owner":"LongDinhF","description":"A library about Android hamburger button","archived":false,"fork":false,"pushed_at":"2018-06-19T08:52:00.000Z","size":99,"stargazers_count":33,"open_issues_count":2,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-09T10:38:30.910Z","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/LongDinhF.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-21T03:17:33.000Z","updated_at":"2018-12-27T03:24:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"8d67b281-9b36-457f-bbaa-74e8def2c9cd","html_url":"https://github.com/LongDinhF/Hamburger-Button","commit_stats":null,"previous_names":["longdinhf/hamburger-button"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LongDinhF%2FHamburger-Button","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LongDinhF%2FHamburger-Button/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LongDinhF%2FHamburger-Button/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LongDinhF%2FHamburger-Button/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LongDinhF","download_url":"https://codeload.github.com/LongDinhF/Hamburger-Button/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249838128,"owners_count":21332561,"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:05.613Z","updated_at":"2025-04-20T01:32:34.008Z","avatar_url":"https://github.com/LongDinhF.png","language":"Java","funding_links":[],"categories":["按钮"],"sub_categories":[],"readme":"# Hamburger Button\n\nA hamburger button with full customization. Inspired by [VinhLe's idea on the Dribble](https://dribbble.com/shots/1626236-Dribbble-Menu)\n\n![Preview]\n(http://i.imgur.com/5paqZ3d.gif)\n\n# Installation\nFrom jCenter\n```\ncompile 'conma.studio:hamburger-button:1.1'\n\n```\n\n# How to use it\nYou can config the looks of the button through XML layout\n\n```\n  \u003cconma.studio.hamburgerbutton.HBButton\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            hbbutton:border_thickness=\"10\"\n            hbbutton:border_corners_radius=\"15\"\n            hbbutton:border_color=\"#6aacff\"\n            hbbutton:background_color=\"#f8888b\"\n            hbbutton:line_thickness=\"8\"\n            hbbutton:line_corners_radius=\"10\"\n            hbbutton:line_color=\"#314fff\"\n            hbbutton:line_width_padding=\"5\"\n            hbbutton:slide_left_to_right=\"true\"\n            hbbutton:animation_duration=\"500\"/\u003e\n```\n\nOr Java code\n\n```\n\tHBButton hbButton = new HBButton(this);\n\thbButton.setBorderThickness(10);\n\thbButton.setBorderCornersRadius(15);\n\thbButton.setBorderColor(Color.parseColor(\"#6aacff\"));\n\thbButton.setBackgroundColor(Color.parseColor(\"#f8888b\"));\n\thbButton.setLineThickness(8);\n\thbButton.setLineCornersRadius(10);\n\thbButton.setLineColor(Color.parseColor(\"#314fff\"));\n\thbButton.setLineWidthPadding(5);\n\thbButton.setSlideLeftToRight(true);\n\thbButton.setAnimationDuration(500);\n```\n\n## License\n    Copyright 2017 Long Dinh (mr.ribbon@gmail.com)\n    \n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n    \n      http://www.apache.org/licenses/LICENSE-2.0\n    \n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLongDinhF%2FHamburger-Button","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLongDinhF%2FHamburger-Button","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLongDinhF%2FHamburger-Button/lists"}