Skip to content

Commit bfe833a

Browse files
authored
Merge pull request #98 from sumit-anantwar/master
update Readme to reflect the newly added DisplayTypes
2 parents 63e282d + b8e6175 commit bfe833a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ The initial display state can be set, using `public void setDisplayType( Display
2929

3030
* `DisplayType.FIT_TO_SCREEN`: The image loaded will always fit the current view's bounds.
3131
* `DisplayType.NONE`: The image will be presented with its current dimensions if smaller than the image bounds, otherwise it will be scaled to fit its contents inside the screen.
32+
* `DisplayType.FIT_HEIGHT`: The image loaded will always fit the height of the current view.
33+
* `DisplayType.FIT_WIDTH`: The image loaded will always fit the width of the current view.
3234

3335
The default display state is `DisplayState.NONE'.
3436

@@ -37,7 +39,7 @@ The default display state is `DisplayState.NONE'.
3739
<dependency>
3840
<groupId>it.sephiroth.android.library.imagezoom</groupId>
3941
<artifactId>imagezoom</artifactId>
40-
<version>1.0.5</version>
42+
<version>2.3.0</version>
4143
</dependency>
4244

4345
##Usage (Gradle)

0 commit comments

Comments
 (0)