# AndroidCarrouselLayout **Repository Path**: liustar2017/AndroidCarrouselLayout ## Basic Information - **Project Name**: AndroidCarrouselLayout - **Description**: 旋转木马3d效果 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-04-28 - **Last Updated**: 2024-12-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # AndroidCarrouselLayout a carrousel layout for android #Preview ![image](https://github.com/dalong982242260/AndroidCarrouselLayout/blob/master/gif/carrousel01.gif?raw=true) ![image](https://github.com/dalong982242260/AndroidCarrouselLayout/blob/master/gif/carrousel02.gif?raw=true) ![image](https://github.com/dalong982242260/AndroidCarrouselLayout/blob/master/gif/carrousel03.gif?raw=true) ![image](https://github.com/dalong982242260/AndroidCarrouselLayout/blob/master/gif/carrousel04.gif?raw=true) ![image](https://github.com/dalong982242260/AndroidCarrouselLayout/blob/master/gif/carrousel05.gif?raw=true) ![image](https://github.com/dalong982242260/AndroidCarrouselLayout/blob/master/gif/carrousel06.gif?raw=true) #Example [app-debug.apk](http://fir.im/bj45?release_id=5827dbc0959d697e2d001263) #How to Use gradle compile 'com.dalong:carrousellayout:1.0.0' or Maven com.dalong carrousellayout 1.0.0 pom xml: ... java: CarrouselLayout carrousel= (CarrouselLayout) findViewById(R.id.carrousel); carrousel.setR(width/3)//设置R的大小 .setAutoRotation(false)//是否自动切换 .setAutoRotationTime(1500);//自动切换的时间 单位毫秒 #License Copyright 2016 dalong Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.