2

I made an App for my children.

The problem is that he hold the tablet with the thumbs slightly inside the view margins.

By doing so, he can't click on view's buttons while one hand is holding the device.

There is a way to ignore all the long presses on the entire App?

My aim is to let him to click on the view's button while holding the device with thumbs inside the view margins.

I already searched with Google but without lucky.

Thanks in advance!

user2342558
  • 5,567
  • 5
  • 33
  • 54
  • Possible Duplicate . Check this out :: https://stackoverflow.com/questions/7919865/detecting-a-long-press-with-android Or checkout below tutorial http://www.vogella.com/tutorials/AndroidTouch/article.html – 1nullpointer Jun 08 '18 at 10:11
  • 1
    Unfortunately the touch event is related to a a view, you should override the onTouchEvent on each "root container" of your UI – Nicola Gallazzi Jun 08 '18 at 13:48
  • @NicolaGallazzi It isn't a problem, I'll create a class that handle that feature. Did you know how can achieve that function per activity? – user2342558 Jun 10 '18 at 09:42

0 Answers0