1. PhotoView 支持双击或双指缩放的ImageView 在ViewPager等Scrolling view中正常使用,相比上面的AndroidTouchGallery,不仅支持ViewPager,同时支持单个ImageView 项目地址:https://github.com/chrisbanes/PhotoView Demo地址:https://play.google.com/store/apps/details?id=uk.co.senab.photoview.sample APP示例:photup 2. android-gif-drawable 支持fig显示的view 项目地址:https://github.com/koral–/android-gif-drawable 用jni实现的,编译生成so库后直接xml定义view即可,而且本身不依赖于其他开源项目,所以相对下面的ImageViewEx简单的多 3. ImageViewEx 支持Gif显示的ImageView 项目地址:https://github.com/frapontillo/ImageViewEx, Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/imageviewex-demo.apk?raw=true 依赖很多,编译过程很繁琐!|_|! 4. RoundedImageView 带圆角的ImageView 项目地址:https://github.com/vinc3m1/RoundedImageView 效果图:https://raw.github.com/makeramen/RoundedImageView/master/screenshot.png |
|
来自: scxingm > 《Android 源码》