Giter Site home page Giter Site logo

looprotaryswitch's Introduction

#介绍 1: LoopRotarySwitchView2.0
可以无限循环,自动旋转,停靠的3D旋转布局控件,无需编写代码,直接在布局中加入自己的布局即可。
仅使用三角函数,使用ValueAnimation,继承FrameLayout.兼容所有滑动组件

效果图

image

##优势 *1.3d旋转GrallyView
*2.支持自动旋转
*3.可直接在xml添加元素即可添加列数据。也可以动态代码添加view
*4.优良的兼容性,和可以自己尺寸控制
*5.添加了点击切换和点击中间监听,适合目前app的需求
*6.优化控件点击切换效果,使用更加的方法实用
##如何使用? <com.example.looprotaryswitch.view.LoopRotarySwitchView
android:id="@+id/mLoopRotarySwitchView"
android:layout_width="fill_parent"
android:gravity="center_vertical"
android:layout_height="fill_parent">


``
``
``
`...............`
```
或者直接代码添加 LoopRotarySwitchView.addView(view);

looprotaryswitch's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.