Android的页面卷曲动画 [英] Android page Curl animation

查看:594
本文介绍了Android的页面卷曲动画的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  1. 有一个简单的方法做了Curl翻页动画?卷曲动画页面翻转动画,其中包括上述滚动页面和阴影在下部页。
  2. 什么是推荐的方式做一个画廊,显示两页时(就像一本书)?

    它是:

    1. 放生适配器同时显示两个图像的线性布局? (它不会让我告诉一个页面翻转比其他像一本书)
    2. 使用两页,将不知何故一个靠近​​对方,然后当它的时间-move下两页以上的动画? 有什么更好的方法,这将使在右页显示左侧翻页?
解决方案

我实现2D页面卷曲本地画布研究。检查我的答案在:实现页面卷曲在Android

编辑:我执行的code项目: HTTP:// code.google.com/p/android-page-curl/ EDIT2:链接更新

  1. Is there a simple way to do the Curl page flipping animation? A Curl animation is animation of pages flipping, including the page above rolling and the shadows over the lower page.
  2. What is the recommended way to do a "gallery" that displays two pages at a time (just like a book)?

    Is it:

    1. Letting the adapter display a linear layout of two images at a time? (it won't let me show a page flipping over the other like a book)
    2. Using two pages, placing somehow one near the other, and then when it's time to animate -move the next two pages over? What is the better way that would enable displaying the left page flipping over the right page?

解决方案

I'm implementing a 2D page curl in the native canvas. Check my answer in: Implement page curl on android?

EDIT: The code project of my implementation: http://code.google.com/p/android-page-curl/ EDIT2: Links updated

这篇关于Android的页面卷曲动画的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆