安卓:幻灯片图像 [英] Android: Slide Images

查看:99
本文介绍了安卓:幻灯片图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何滑动手指通过图像的Andr​​oid?我的意思是像图库应用程序滑动的照片...
而如何做到这一点的动画,如果我想通过点击按钮,滑动的照片?谢谢...

How to slide images by finger in Android ? I mean like Gallery app slide photos... And how to do that animation if I want to slide photos by clicking on button ? Thanks...

推荐答案


  • 对于动画,请参见 ImageSwitcher

  • 对于手势一部分,参见<一个href=\"http://www.zdnet.com/blog/burnette/how-to-use-multi-touch-in-android-2-part-6-implementing-the-pinch-zoom-gesture/1847\"相对=nofollow>本教程

  • For the animation, see ImageSwitcher
  • For the gesture part, see this tutorial
  • 这篇关于安卓:幻灯片图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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