Android的:如何创建一个车轮的看法? [英] Android : How to create a wheel view?
问题描述
如何创建一个视图一样,在Android的:
How to create a view like that in Android :
我actualy采用了android轮的http:// code .google.com / P /机器人轮/ 来模拟一个车轮,但我想创造一个更加选择轮。
I'm actualy using android-wheel http://code.google.com/p/android-wheel/ to simulate a wheel, but I want to create a more "choice" wheel.
我怎么能这样做?我应该创建一个自定义视图?如果是的话,我怎么能创造这样的事情?
How can I do that ? Should I create a custom view ? If yes, how can I create something like that ?
推荐答案
我提出和开源库这一点。您可以检查出来的 Github上。
I made and open-sourced a library for this. You can check it out on Github.
它允许您添加任意数量的部门,增加一个管理单元,以中心作用,并听取位置变化。希望它可以帮助!
It allows you to add any number of divisions, add a snap-to-center effect and listen to changes in position. Hope it helps!
这篇关于Android的:如何创建一个车轮的看法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!