0

I want to increase the touch are a button or tab. Here it a picture of an example. enter image description here

Thank you!!

Selu Hadu
  • 109
  • 2
  • 6

1 Answers1

0

You could archive this by using TouchDelegate

As the documentation said:

Helper class to handle situations where you want a view to have a larger touch area than its actual view bounds. The view whose touch area is changed is called the delegate view. This class should be used by an ancestor of the delegate. To use a TouchDelegate, first create an instance that specifies the bounds that should be mapped to the delegate and the delegate view itself.

Lars Vogel provided an excellent example at his blog

Thiago Souto
  • 761
  • 5
  • 13