I have a rather nasty request from a client , which involves making a hexagonal button. This is easy, we can create a ShapeDrawable and load it into the ImageButton/Button etc. However here is the issue, by default there is a rectangular click region that surrounds the button in android. Regardless of the shape inside the Button , the clickable region would always be a Rect.
Can I modify this behaviour ? so as to make the clickable region of my button exactly hexagonal ?
Thanks .