A
A
Anton Misyagin2020-03-03 16:29:00
Android
Anton Misyagin, 2020-03-03 16:29:00

How to set clickability mask in android?

Good afternoon. The task is in general. There is a rectangular button. There is a simple vector path. How to cross the button and this path so that the click handler works only inside the shape specified by the path? Some component is needed for this. Nobody met with this?
5e5e5ae168a7a684361366.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2020-03-04
@zagayevskiy

Write a custom view and a custom touch handler.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question