I have a diagonal shaped imageview. When i clicked the imageview it doesn't respect the clipped area and perform clicking on the transparent area aswell.
How can i make only non transparent area or shape clickable? You can see the view's source code here if needed
Thanks in advance.
With merging @Raghunandan and @oğuzhan-döngül's solutions i finally managed to solve the issue. Final code can be found here for future readers. Thank you for all your support.