简体   繁体   English

轮播渲染脚本使卡片逆时针滚动

[英]carousel renderscript make cards counterclockwise to scroll

I need some help with the CarouselExample that can be checked out using this link . 我需要有关CarouselExample的帮助,可以使用此链接将其检出。 I want to make cards counterclockwise to scroll around the carousel. 我想使卡片逆时针旋转。 but I don't found a method in the Carousel.rs file. 但我在Carousel.rs文件中找不到方法。 Please if someone has checked this example and knows how to help me, i would appreciate it. 请如果有人检查了这个例子,知道如何帮助我,我将不胜感激。 like this: https://drive.google.com/file/d/0B0ORaa3AfoB8SHBaX2U3elJSams/edit?usp=sharing 像这样: https : //drive.google.com/file/d/0B0ORaa3AfoB8SHBaX2U3elJSams/edit?usp=sharing

我认为在CarouselController.java中,您可以将mFillDirection设置为CarouselRS.FILL_DIRECTION_CW。

the CarouselExample is deprecated, since the renderscript UI/3d part can't be used anymore. CarouselExample已弃用,因为无法再使用renderscript UI / 3d部分。

instead, google suggests using openGL. 相反,谷歌建议使用openGL。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM