Does anyone know how to implement a 3D Carousel selector?
Something like this:
(source: sina.com.cn) alt text http://www.s开发者_运维知识库pbsoftwarehouse.com/uploads/images/mobileshell/Screenshots/3/204.pngThe 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.
精彩评论