Google Plus tile animation

前端 未结 2 1306
广开言路
广开言路 2021-01-31 00:51

I\'m trying to figure out how I could make a similar layout as in Google plus timeline view. There\'s an animation while scrolling in timeline and I really like it. Any idea how

2条回答
  •  悲哀的现实
    2021-01-31 01:17

    I would check out the carousel example code provide by google http://code.google.com/p/renderscript-examples/wiki/Carousel

    Essentially what this does is creates a series of tiles that can be textured by any image you please. The code is set up out of the box to do a cylindrical carousel from the outside but you can move the view point and even make it flat as in the g+ example if you so chose.

    A note of caution, as of Jellybean (4.1) Google has deprecated the graphics components of renderscript. We have begun the process of moving everything over from renderscript to openGL at our company, so be sure to evaluate if making new code with a deprecated API makes sense for you particular usage.

提交回复
热议问题