Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Please read the Terms of Use for Materials on ZennoLab |
Table of contents
Expand | ||||
---|---|---|---|---|
| ||||
|
...
Via context menu Add Action -> Android -> Rise Event
...
Through the action designer.
Or use smart search.
...
What is it used for?
touch is most often used for clicks on buttons, menu items, checkboxes
long touch is usually used to call an additional menu for elements
...
0;0
- the upper left corner of the element.99;49
- click on 100th pixel horizontally and 50th pixel vertically-1;-1 (и любое другое отрицательное значениеand any other negative value)
- click on the center of the element.-1; 9
- horizontally - the center of the element, vertically - the 10th pixel from the top.0;-26;
- horizontally, the click will be made at the leftmost point of the element, and vertically - in the center of the element.-2000; -3000
- click on the center of the element.
if a value is set that exceeds the height or width of the element, then it will be reduced to the actual height/width of the element.
More tab
Include Page | ||||
---|---|---|---|---|
|
...
Usage example
This action will be used every time you need to click on one or another element. For example, you need to click on the "Settings" shortcut on the main screen of the emulator. To do this, right-click on it => To the action designer (1), select the “Rise” action (2), the “touch” event and then “Add to project”.
Expand | ||
---|---|---|
| ||
...