ImageZoom

Additional

Language
Java
Version
0.4.0 (Aug 10, 2016)
Created
Apr 22, 2016
Updated
Aug 10, 2016 (Retired)
Owner
Felipe Oliveira (oliveiradev)
Contributors
Ravindra Kumar (ravidsrk)
Felipe Oliveira (oliveiradev)
2
Activity
Badge
Generate
Download
Source code

Advertisement

ImageZoom

A simple lib for zoom images on event click

#Usage

Is simple, use this component:

<com.github.oliveiradev.image_zoom.lib.widget.ImageZoom
        android:layout_width="width_dimensions"
        android:layout_height="height_dimensions"
        android:src="your_image" />

starting version 0.4.0 is possible use zoom effect in another image components , is simple:

image.setOnClickListener(view -> ZoomAnimation.zoom(view, image.getDrawable(), activityContext, false));

Attributes

landScapeZoom

Starting version 0.3.0 is possible zooming on landscape orientation

<com.github.oliveiradev.image_zoom.lib.widget.ImageZoom
        android:layout_width="width_dimensions"
        android:layout_height="height_dimensions"
        app:landScapeZoom="true"
        android:src="your_image" />

#Install

Add jitpack repositorie in your build.gradle root level

allprojects {
  repositories {
   ...
   maven { url "https://jitpack.io" }
  }
 }

and , add this dependencie

dependencies {
 compile 'com.github.oliveiradev:image-zoom:[latest_version]'
}

#License

The MIT License (MIT)

Copyright (c) 2016 Felipe Oliveira

Permission is hereby granted, free of charge, to any person obtaining a 
copy of this software and associated documentation files (the "Software"), 
to deal in the Software without restriction, including without limitation 
the rights to use, copy, modify, merge, publish, distribute, sublicense, 
and/or sell copies of the Software, and to permit persons to whom the Software is 
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included 
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.