Hello,
I am starting a project that will eventually involve dragging buttons displaying numbers around the screen.
Can anyone point me in the right direction?
My first thoughts are to use a button to hold the number (which is displayed in the text) instead of some other view simply because it seems the most direct.
I am tending toward the Gestures library to detect finger movements around the screen.
I will make the button the child of a panel covering most of the screen which the button can be dragged around.
I will use the button down and up events and the gesture movement events to implement dragging the button.
Does this sound reasonable? Is there a better approach or better view object to use? Can anyone point me to a tutorial or example?
Thanks much,
Barry.
I am starting a project that will eventually involve dragging buttons displaying numbers around the screen.
Can anyone point me in the right direction?
My first thoughts are to use a button to hold the number (which is displayed in the text) instead of some other view simply because it seems the most direct.
I am tending toward the Gestures library to detect finger movements around the screen.
I will make the button the child of a panel covering most of the screen which the button can be dragged around.
I will use the button down and up events and the gesture movement events to implement dragging the button.
Does this sound reasonable? Is there a better approach or better view object to use? Can anyone point me to a tutorial or example?
Thanks much,
Barry.