{"id":13644697,"url":"https://github.com/yixiaolunhui/AndroidCarrouselLayout","last_synced_at":"2025-04-21T10:34:09.050Z","repository":{"id":89903606,"uuid":"73553216","full_name":"yixiaolunhui/AndroidCarrouselLayout","owner":"yixiaolunhui","description":"a carousel layout for android","archived":false,"fork":false,"pushed_at":"2024-04-01T09:24:48.000Z","size":6531,"stargazers_count":292,"open_issues_count":3,"forks_count":72,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-08-04T00:06:54.846Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yixiaolunhui.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-11-12T13:07:12.000Z","updated_at":"2024-07-28T03:28:59.000Z","dependencies_parsed_at":"2024-06-15T06:43:52.593Z","dependency_job_id":"86532a47-8086-4523-a567-66125f8f1ec3","html_url":"https://github.com/yixiaolunhui/AndroidCarrouselLayout","commit_stats":null,"previous_names":["dalong982242260/androidcarrousellayout"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yixiaolunhui%2FAndroidCarrouselLayout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yixiaolunhui%2FAndroidCarrouselLayout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yixiaolunhui%2FAndroidCarrouselLayout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yixiaolunhui%2FAndroidCarrouselLayout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yixiaolunhui","download_url":"https://codeload.github.com/yixiaolunhui/AndroidCarrouselLayout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250040678,"owners_count":21365150,"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:02:11.162Z","updated_at":"2025-04-21T10:34:04.025Z","avatar_url":"https://github.com/yixiaolunhui.png","language":"Java","funding_links":[],"categories":["轮播图"],"sub_categories":[],"readme":"# AndroidCarrouselLayout\na carrousel layout for android\n\n# Preview\n\n![image](https://github.com/dalong982242260/AndroidCarrouselLayout/blob/master/gif/carrousel01.gif?raw=true)\n![image](https://github.com/dalong982242260/AndroidCarrouselLayout/blob/master/gif/carrousel02.gif?raw=true)\n![image](https://github.com/dalong982242260/AndroidCarrouselLayout/blob/master/gif/carrousel03.gif?raw=true)\n![image](https://github.com/dalong982242260/AndroidCarrouselLayout/blob/master/gif/carrousel04.gif?raw=true)\n![image](https://github.com/dalong982242260/AndroidCarrouselLayout/blob/master/gif/carrousel05.gif?raw=true)\n![image](https://github.com/dalong982242260/AndroidCarrouselLayout/blob/master/gif/carrousel06.gif?raw=true)\n\n# Example\n\n[app-debug.apk](http://fir.im/bj45?release_id=5827dbc0959d697e2d001263)\n\n# How to Use\n\ngradle\n\n        compile 'com.dalong:carrousellayout:1.0.0'   \n          \nor Maven\n\n        \u003cdependency\u003e\n          \u003cgroupId\u003ecom.dalong\u003c/groupId\u003e\n          \u003cartifactId\u003ecarrousellayout\u003c/artifactId\u003e\n          \u003cversion\u003e1.0.0\u003c/version\u003e\n          \u003ctype\u003epom\u003c/type\u003e\n        \u003c/dependency\u003e                    \n\nxml:\n\n         \u003ccom.dalong.carrousellayout.CarrouselLayout\n               android:id=\"@+id/carrousel\"\n               app:rotateDirection=\"anticlockwise\"\n               app:r=\"200dp\"\n               app:rotationTime=\"3000\"\n               android:gravity=\"center\"\n               android:layout_marginBottom=\"180dp\"\n               android:layout_width=\"match_parent\"\n               android:layout_height=\"match_parent\"\u003e\n              \u003cImageView\n                  android:src=\"@mipmap/image1\"\n                  android:layout_width=\"wrap_content\"\n                  android:layout_height=\"wrap_content\" /\u003e\n              \u003cImageView\n                  android:src=\"@mipmap/image2\"\n                  android:layout_width=\"wrap_content\"\n                  android:layout_height=\"wrap_content\" /\u003e\n                  ...\n           \u003c/com.dalong.carrousellayout.CarrouselLayout\u003e\n\n\njava:\n\n        CarrouselLayout carrousel= (CarrouselLayout) findViewById(R.id.carrousel);\n        carrousel.setR(width/3)//设置R的大小\n                 .setAutoRotation(false)//是否自动切换\n                 .setAutoRotationTime(1500);//自动切换的时间  单位毫秒\n\n\n#License\n\nCopyright 2016 dalong\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyixiaolunhui%2FAndroidCarrouselLayout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyixiaolunhui%2FAndroidCarrouselLayout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyixiaolunhui%2FAndroidCarrouselLayout/lists"}