旋转木马的Andr​​oid第三方库 [英] Android carousel 3rd party library

查看:136
本文介绍了旋转木马的Andr​​oid第三方库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何第三方的旋转木马小部件,我可以在Android的重用?

我要寻找这样的<一个href="http://cocoacontrols.com/platforms/ios/controls/icarousel">http://cocoacontrols.com/platforms/ios/controls/icarousel但对于机器人。

目前,我已经开发了它我的自我扩展视图类,但它becamse更加复杂,增加新的功能,所以我只是想知道如果我可以重复使用一些code

解决方案
  1. Linderdaum引擎( http://www.linderdaum.com )具有3D旋转木马的工作实现窗口小部件。

这是在行动: http://www.youtube.com/watch?v= 5Pc5e489SIY

在发动机上Android和Windows上运行,它是用C ++编写。

的基本思想,只是为了让你开始。

图像的序列呈现为三维四边形的序列。每个四边形的顶点被置于方向的曲线。对于的CoverFlow现在我们所使用EXP(-t * t)的曲线。 T是当前观看参数。

  1. 对于简单的效果可能会用到这个 HTTP: //www.inter-fuser.com/2010/02/android-coverflow-widget-v2.html

这一个是由尼尔·戴维斯用Java编写的。

Are there any 3rd party carousel widgets that I can reuse in android?

I am looking for something like this http://cocoacontrols.com/platforms/ios/controls/icarousel but for android.

At the moment I've developed it my self extending View class, but it becamse more complex to add new features, so I am just wondering if I can reuse some code

解决方案

  1. Linderdaum Engine (http://www.linderdaum.com) has a working implementation of the 3D "carousel" widget.

Here it is in action: http://www.youtube.com/watch?v=5Pc5e489SIY

The engine runs on both android and windows and it is written in C++.

The basic idea, just to get you started.

The sequence of images is rendered as a sequence of 3d quads. The vertices of each quad are placed on the "direction curves". For the "coverflow" appearance we use the exp(-t*t) curve. 't' is the current viewing parameter.

  1. For the simpler effects one might use this http://www.inter-fuser.com/2010/02/android-coverflow-widget-v2.html

This one is written in Java by Neil Davies.

这篇关于旋转木马的Andr​​oid第三方库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆