{"id":13396045,"url":"https://github.com/ogaclejapan/ArcLayout","last_synced_at":"2025-03-13T22:31:39.114Z","repository":{"id":26239354,"uuid":"29686238","full_name":"ogaclejapan/ArcLayout","owner":"ogaclejapan","description":"A very simple arc layout library for Android","archived":false,"fork":false,"pushed_at":"2018-05-04T21:13:58.000Z","size":5759,"stargazers_count":1365,"open_issues_count":17,"forks_count":304,"subscribers_count":50,"default_branch":"master","last_synced_at":"2024-07-31T18:16:20.351Z","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/ogaclejapan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-22T15:50:27.000Z","updated_at":"2024-07-14T23:18:04.000Z","dependencies_parsed_at":"2022-07-17T03:00:30.302Z","dependency_job_id":null,"html_url":"https://github.com/ogaclejapan/ArcLayout","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogaclejapan%2FArcLayout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogaclejapan%2FArcLayout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogaclejapan%2FArcLayout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogaclejapan%2FArcLayout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ogaclejapan","download_url":"https://codeload.github.com/ogaclejapan/ArcLayout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243493805,"owners_count":20299721,"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-07-30T18:00:38.293Z","updated_at":"2025-03-13T22:31:38.196Z","avatar_url":"https://github.com/ogaclejapan.png","language":"Java","readme":"# ArcLayout\n[![Maven Central][maven_central_badge_svg]][maven_central_badge_app] [![Android Arsenal][android_arsenal_badge_svg]][android_arsenal_badge_link]\n\n![icon][demo_icon]\n\nA very simple arc layout library for Android.\n\n![Arc Layout Demo1][demo1_gif] ![Arc Layout Demo2][demo2_gif]\n\nTry out the sample application on the Play Store.\n\n[![Get it on Google Play][googleplay_store_badge]][demo_app]\n\n# Usage\n\n_(For a working implementation of this project see the demo/ folder.)_\n\nAdd the dependency to your build.gradle.\n\n```\ndependencies {\n    compile 'com.ogaclejapan.arclayout:library:1.1.0@aar'\n}\n```\n\nInclude the ArcLayout widget in your layout.  \n\n```xml\n\n\u003ccom.ogaclejapan.arclayout.ArcLayout\n        android:id=\"@id/arc_layout\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        app:arc_origin=\"bottom\"\n        app:arc_color=\"#4D000000\"\n        app:arc_radius=\"168dp\"\n        app:arc_axisRadius=\"120dp\"\n        app:arc_freeAngle=\"false\"\n        app:arc_reverseAngle=\"false\"\n        \u003e\n\n    \u003cButton\n        android:layout_width=\"48dp\"\n        android:layout_height=\"48dp\"\n        android:gravity=\"center\"\n        android:text=\"A\"\n        android:textColor=\"#FFFFFF\"\n        android:background=\"#03A9F4\"\n        app:arc_origin=\"center\"\n        /\u003e\n\n    \u003cButton\n        android:layout_width=\"48dp\"\n        android:layout_height=\"48dp\"\n        android:gravity=\"center\"\n        android:text=\"B\"\n        android:textColor=\"#FFFFFF\"\n        android:background=\"#00BCD4\"\n        app:arc_origin=\"center\"\n        /\u003e\n\n    \u003cButton\n        android:layout_width=\"48dp\"\n        android:layout_height=\"48dp\"\n        android:gravity=\"center\"\n        android:text=\"C\"\n        android:textColor=\"#FFFFFF\"\n        android:background=\"#009688\"\n        app:arc_origin=\"center\"\n        /\u003e\n\n\u003c/com.ogaclejapan.arclayout.ArcLayout\u003e\n\n```\n\n# Attributes\n\nThere are several attributes you can set:\n\n## ArcLayout\n\n![attrs][attrs_overview]\n\n| attr | description |\n|:---|:---|\n| arc_origin | Center of the arc on layout. All of patterns that can be specified, see the demo app.  |\n| arc_color | Arc Shaped color |\n| arc_radius | Radius of the layout |\n| arc_axisRadius | Radius the axis of the child views |\n| arc_freeAngle | If set to true, each child view can set the free angle, default false |\n| arc_reverseAngle | If set to true, reverse the order of the child, default false. Note: If arc_freeAngle set to true does not work |\n\n\n## Child views in ArcLayout\n\n| attr | description |\n|:---|:---|\n| arc_origin | Set the origin point of arc_axisRadius as well as layout_gravity, default center |\n| arc_angle | If arc_freeAngle set to true, layout the specified angle |\n\n\n# Apps Using ArcLayout\n\n* [Qiitanium][qiitanium]\n* [Call Control Free][callcontrolfree_app]\n\n![GIF][callcontrolfree_gif]\n\n\n# LICENSE\n\n```\nCopyright (C) 2015 ogaclejapan\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\nhttp://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\n[demo1_gif]: https://raw.githubusercontent.com/ogaclejapan/ArcLayout/master/art/demo1.gif\n[demo2_gif]: https://raw.githubusercontent.com/ogaclejapan/ArcLayout/master/art/demo2.gif\n[demo_app]: https://play.google.com/store/apps/details?id=com.ogaclejapan.arclayout.demo\n[demo_icon]: https://raw.githubusercontent.com/ogaclejapan/ArcLayout/master/art/icon.png\n[googleplay_store_badge]: http://www.android.com/images/brand/get_it_on_play_logo_large.png\n[maven_central_badge_svg]: https://maven-badges.herokuapp.com/maven-central/com.ogaclejapan.arclayout/library/badge.svg?style=flat\n[maven_central_badge_app]: https://maven-badges.herokuapp.com/maven-central/com.ogaclejapan.arclayout/library\n[android_arsenal_badge_svg]: https://img.shields.io/badge/Android%20Arsenal-ArcLayout-brightgreen.svg?style=flat\n[android_arsenal_badge_link]: http://android-arsenal.com/details/1/1689\n[attrs_overview]: https://raw.githubusercontent.com/ogaclejapan/ArcLayout/master/art/attrs.png\n[qiitanium]: https://github.com/ogaclejapan/Qiitanium\n[callcontrolfree_app]: https://play.google.com/store/apps/details?id=club.androidy.callcontrolfree\n[callcontrolfree_gif]: https://raw.githubusercontent.com/ogaclejapan/ArcLayout/master/art/callcontrolfree.gif\n\n\n","funding_links":[],"categories":["Index `(light-weight pages)`","其他","Index","Libs"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fogaclejapan%2FArcLayout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fogaclejapan%2FArcLayout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fogaclejapan%2FArcLayout/lists"}