How to close dialog on click outside the image
Open
- Dominant language
- Java
- Stars
- 18.8k
- Forks
- 3.9k
- PR merge metrics
- No merged PRs in 30d
Description
I'm using PhotoView inside a full screen dialog like this
```
```
The PhotoView width and height are set to match_parent and hence cover the entire screen.
If image proportions differ from the screen ones then image is scaled to fit in the center and there will be some unused space in the view.
When user clicks on the view, is it possible to detect if the click was done outside the actual image to close the dialog?

Contributor guide
Assessment
This issue has not been assessed yet.