我在网上冲浪寻找一个很好的效果,在Android上翻页,似乎不是一个.由于我正在学习这个平台,能够做到这一点似乎是一件好事.
我设法在这里找到一个页面:http://wdnuon.blogspot.com/2010/05/implementing-ibooks-page-curling-using.html
- (void)deform
{
Vertex2f vi; // Current input vertex
Vertex3f v1; // First stage of the deformation
Vertex3f *vo; // Pointer to the finished vertex
CGFloat R, r, beta;
for (ushort ii = 0; ii < numVertices_; ii++)
{
// Get the current input vertex.
vi = inputMesh_[ii];
// Radius of the circle circumscribed by vertex (vi.x, vi.y) around A on the x-y plane
R = sqrt(vi.x * vi.x + pow(vi.y - A, 2));
// …Run Code Online (Sandbox Code Playgroud) 尝试完全像flipboard ipad应用程序一样实现翻页动画.我已经推荐了一些博客和以下链接:
Android:如何制作Android活动的翻转动画,就像iphone从左到右水平翻转?
但只能实现正常的页面卷曲效果.有没有办法实现类似于android中的flipboard ipad应用程序的视图翻板的翻页效果?flipboard ipad app动画如下链接:
在制作Android应用程序时,我想要在iPhone上流行的纸张剥离效果,其中角落看起来被拉回来,用户又强硬并拖动以"折叠"页面.
我正在使用Titanium,如果这很重要的话.我怎样才能做到这一点?