开发者

3D Carousel for Android?

Does anyone know how to implement a 3D Carousel selector?

Something like this:

3D Carousel for Android?

(source: sina.com.cn)

alt text http://www.s开发者_运维知识库pbsoftwarehouse.com/uploads/images/mobileshell/Screenshots/3/204.png


The closest thing I've seen is probably this. It's a modified GalleryView with image transforms applied to get the effects. Applying different transforms I think you could probably do what you're looking for.


As I mentioned in my answer to a similar question, you might peruse the CarouselView example code mentioned in the "Designing Android UIs for Phones and Tablets" session at Google I/O 2011.

The example makes heavy use of the Renderscript framework, released with Android 3.0. As such, the example code is for API levels 11 and up. Variations of the CarouselView component were used in several of the applications within Honeycomb including Books and YouTube when creating 3D carousel effects.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜