Git Product home page Git Product logo

gestureviews's Introduction

GestureViews

Maven Central Build Status Size

ImageView and FrameLayout with gestures control and position animation.

Main goal of this library is to make images viewing process as smooth as possible and to make it easier for developers to integrate it into their apps.

Features

  • Gestures support: pan, zoom, quick scale, fling, double tap, rotation.
  • Seamless integration with ViewPager (panning smoothly turns into ViewPager flipping and vise versa).
  • View position animation ("opening" animation). Useful to animate into full image view mode.
  • Advanced animation from RecyclerView (or ListView) into ViewPager.
  • Exit full image mode by scroll and scale gestures.
  • Rounded images with animations support.
  • Image cropping (supports rotation).
  • Lots of settings.
  • Gestures listener: down (touch), up (touch), single tap, double tap, long press.
  • Custom state animation (animating position, zoom, rotation).
  • Supports both ImageView and FrameLayout out of the box, also supports custom views.

Sample app

Get it on Google Play

Demo video

YouTube

Demo video

Usage

Add dependency to your build.gradle file:

implementation 'com.alexvasilkov:gesture-views:2.5.2'

Usage wiki

Javadoc

Sample app sources

License

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

gestureviews's People

Contributors

alexvasilkov avatar tibbi avatar naveensingh avatar alashow avatar skrzyneckik avatar

Stargazers

Sicco van Sas avatar inson1 avatar

Watchers

 avatar inson1 avatar

Forkers

gj-loitp

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.