2014年3月23日

用ViewFlipper和GestureDetector实现手势翻页的效果

摘要: 首先在布局文件中要有个ViewFlipper,这个可以用来加载View。可以在加载的View中做动画,但只能显示一个View。具体的API中是这样说的: SimpleViewAnimatorthat will animate between two or more views that have been added to it. Only one child is shown at a time. If requested, can automatically flip between each child at a regular interval. 所以我在布局文件中放一个Vie... 阅读全文

posted @ 2014-03-23 13:10 &大飞 阅读(148) 评论(0) 推荐(0)

导航