Skip to content

Commit 2d6e874

Browse files
Update README.md
1 parent b3f4efd commit 2d6e874

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,14 @@ Show image as a popup on a click event or any event. Simply set the image as dra
3434

3535
### Example
3636

37-
/** Set popup height, width & background color as you want **/
37+
/** Set popup height, width & background color as you need or just leave default settings **/
3838

3939
final ImagePopup imagePopup = new ImagePopup(this);
4040
imagePopup.setBackgroundColor(Color.BLACK);
4141
imagePopup.setWindowWidth(800);
4242
imagePopup.setWindowHeight(800);
43+
imagePopup.setHideCloseIcon(true);
44+
imagePopup.setImageOnClickClose(true);
4345

4446
final ImageView imageView = (ImageView) findViewById(R.id.imageView);
4547
imageView.setOnClickListener(new View.OnClickListener() {
@@ -61,4 +63,4 @@ Contributions are always welcome!
6163
# License
6264
The MIT License
6365

64-
Copyright (c) 2017 Chathura Lakmal [Google +](https://plus.google.com/u/0/+ChathuraLakmalBest)
66+
Copyright (c) 2017 [Chathura Lakmal](https://lk.linkedin.com/in/cmac90)

0 commit comments

Comments
 (0)