Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion devtools/android-cli/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Capture an image of the current screen of a connected Android device and output

## Managing skills

Manage antigravity agent skills for Android using the `android skills` command.
Manage agent skills for Android using the `android skills` command.

## Inspecting UI Layouts

Expand Down
2 changes: 1 addition & 1 deletion devtools/android-cli/references/interact.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ To tap on this button, you would execute `adb shell input tap 152 23`. This taps
"center": "[250,400]"
}
```
To scroll down on this list, you would execute `adb shell input swipe 250 400 600 500`. This swipes from the center to the bottom over 500ms.
To scroll down on this list, you would execute `adb shell input swipe 250 400 250 600 500`. This swipes from the center to the bottom over 500ms.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Swiping from the center (250, 400) to the bottom (250, 600) moves the finger downwards, which actually scrolls the list up (revealing content above). To scroll down (revealing content below), the swipe gesture needs to move upwards from the center to the top (250, 200).

Suggested change
To scroll down on this list, you would execute `adb shell input swipe 250 400 250 600 500`. This swipes from the center to the bottom over 500ms.
To scroll down on this list, you would execute `adb shell input swipe 250 400 250 200 500`. This swipes from the center to the top over 500ms.


# Android Interaction Rules
1. Always ensure text input fields have `"focused"` in their `"state"` list before entering text
Expand Down