Recently, I saw a shortcut menu button, which is a button that pops up several buttons around it, side by side on the circumference. Then, press the button at the center of the circle to remove the pop-up button.
I think the improvements here are:
1. A button appears at first, which occupies a certain place.
2. When the user gives up the operation, the user needs to click the button again to reclaim the pop-up button. This action is redundant.
I think it is of great value to streamline an action and take less of a place, so the shortcut buttons I designed are:
1. Do not occupy any space at ordinary times. Call it through gestures.
2. When you discard an operation, you do not need to perform the operation. In this way, the user action is minimal.
During the operation, a row of menu buttons is taken out with one finger. If the user's finger does not leave the screen, the button remains unchanged. At this moment, the user can think about pressing that button. After the user's finger is released, the button remains for one second for the user to operate. If the user chooses to discard the operation, the button will automatically disappear after one second. In this way, user operations are perhaps the least convenient.
The final screen recording effect is as follows:
Source code put in: https://github.com/maxyou/gesturebutton
The code is very simple and easy to modify and expand. For the implementation method, see the source code of GestureOverlayView.
Thank you for your criticism.
Zookeeper
My first open-source component: a shortcut menu button