如何实现车轮部件像iPhone?车轮、部件、如何实现、iPhone

2023-09-06 02:51:23 作者:绿光少年

我想实现一个时间设置轮部件像一个iPhone有(http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/mobilehig/art/ui_datetimepicker.jpg).

我应该使用GlSurfaceView或者只是延长​​查看? 我应该让它作为一个复合视图(它将包含若干意见),或在OnDraw中画上的所有印刷品吗? 在情况下,我将不会延长GlSurfaceView,怎么办(平滑)动画?启动一个线程,并调用postInvalidate()? 解决方案

HTTP: //$c$c.google.com/p/android-wheel/

I would like to implement a time settings wheel widget like the one iPhone has (http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/mobilehig/art/ui_datetimepicker.jpg).

Should I use GlSurfaceView or just extend View? Should I make it as a compound View (it would consist of several Views) or draw everything on the Canvas in onDraw? In case I won't extend GlSurfaceView, how to do (smooth) animations? Start a Thread and call postInvalidate()?

解决方案 轮胎寿命到底几年,你知道吗

http://code.google.com/p/android-wheel/