0

I want that the user of my application has the effect of taking the next card from a stapel. So the user should take the next card with touching the card and sliding the topmost playing card to the left, out of the screen. How do I get to this effect?

I searched for examples but I could not find some, I think I don't have the right word to search for. I only found the ViewFlipper or the SlidingDrawer but I do not think that they help me with my problem. Maybe it is an animation, but the effect should react when the users lose the card.

4

1 回答 1

1

很简单:一叠卡片只是您自己绘制的图像。在 SurfaceView 中的单击事件中,您会显示一个额外的图像并让其随手指移动。现在看起来用户从堆栈中选择了一个图像。此外,您还必须查看这张移动卡片应该有多大,才能让用户看到它有一张链接到手指的卡片。成功 碧玉

于 2012-09-21T15:05:47.897 回答