支持大图片查看的Android库:ByakuGallery

efbb 10年前

ByakuGallery是一个开源Android库,能够让查看大图片,支持手势。这个库基于AOSP Camera2

Sample Screenshot Sample Animation

The name was inspired by the Byakugan from Naruto series :)

特性

  • The image is split in small tiles and only the visible portion is allocated on memory, avoidingOutOfmemoryError.
  • Full gesture capabilities: Click, LongClick, DoubleTap, Pan, Fling and Pinch Zoom.
  • Smooth animations.
  • Can easily be placed inside a parent View with scrolling (e.g.GalleryViewPager).

项目主页:http://www.open-open.com/lib/view/home/1430961111226