Activity moves on Android

Asked

Viewed 62 times

0

I have developed an application similar to 2048 and it is working apparently well. But there’s one detail that’s bothering me.

1 - I have a screen(Activity) at the top of the screen I have several buttons these buttons represent those frames where appear the numbers in the game 2048.

2 - When I am playing, the moves I make( slide left, slide right, up and down ) are taken by Activity and are handled perfectly.

When the movements mentioned above are started or finished on the buttons my Activity does not capture the movement made.

What can I do to fix this ??

  • 1

    I’m not sure, but I believe that just disabling the buttons already solves your problem, no?

  • Hello friend, leaving the property clickable on the buttons as false seems to have solved the problem. Thank you

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.