Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
Image-Zoomer
==========
--------
###Specs
### Specs
[![Bintray](https://img.shields.io/badge/Bintray-v1.0.2-brightgreen.svg?)](https://bintray.com/code-crusher/maven/ImageZoomer)
<a href="http://www.methodscount.com/?lib=com.vatsal.imagezoomer%3Aimage-zoomer%3A1.0.2"><img src="https://img.shields.io/badge/Methods%20and%20size-core:%20103%20%7C%2026%20KB-e91e63.svg"/></a>
<a href="http://twitter.com/vatsal__bajpai"><img src="https://img.shields.io/badge/Twitter-@vatsal__bajpai-blue.svg?" alt="Twitter" data-canonical-src="https://img.shields.io/badge/Twitter-@vatsal__bajpai-blue.svg?" style="max-width:100%;"></a><br>

Image zoomer provides easy way to add zoom animations to you ImageButton. You can set the animation duration and reverse mode to reverse the animation.

###Featured in
### Featured in
<a href="http://android-arsenal.com/details/1/3799"><img src="https://img.shields.io/badge/Android%20Arsenal-ImageZoomer-green.svg"/></a>

#Screenshots
###Zoom
# Screenshots
### Zoom
![Screenshot](https://github.com/code-crusher/Image-Zoomer/blob/master/screenshots/zoom.gif)

###Zoom Reverse
### Zoom Reverse
![Screenshot](https://github.com/code-crusher/Image-Zoomer/blob/master/screenshots/zoomReverse.gif)

#Integration
# Integration
-------------

- ImageZoomer is available in the MavenCentral, so getting it as simple as adding it as a dependency
Expand All @@ -27,8 +27,8 @@ Image zoomer provides easy way to add zoom animations to you ImageButton. You ca
compile 'com.vatsal.imagezoomer:image-zoomer:1.0.2'
```

#Usage
###Method 1 : XML
# Usage
### Method 1 : XML
In your activity_main.xml file use this code instead of ImageButton:

```xml
Expand All @@ -37,7 +37,7 @@ In your activity_main.xml file use this code instead of ImageButton:
android:layout_height="wrap_content"
android:src="@mipmap/ic_launcher" />
```
###Attributes
### Attributes

<ul>• To set the duration use:
</ul>
Expand All @@ -50,7 +50,7 @@ In your activity_main.xml file use this code instead of ImageButton:
app:modeReverse="true"
```

###Method 2 : Java
### Method 2 : Java
In your MainActivity.class use this code in OnClick() of ImageButton:

```Java
Expand Down Expand Up @@ -87,7 +87,7 @@ image_button | ImageButton
activity | Activity
duration(ms) | long

#License
# License

> Copyright 2016 Vatsal Bajpai

Expand Down