Add Bookmark

Use cases / Moving from Auto.js layout analysis

Auto.js layout analysis alternative for Android

If you used Auto.js to find a button’s ID, position or parent, open Inspect Layout in the Dev Tools App. Use the floating control on the target screen to read the layout and select a view. Inspect Layout is a Pro tool in the standard edition. Check the in-app screen for access and any trial options.

1. Match the Auto.js tool to the information you need

Layout bounds analysis starts with a position on the screen. Layout hierarchy analysis starts with the tree of parent and child nodes. Inspect Layout lets you use both approaches in the same screen, including switching between nodes that overlap.

Maintenance of the original open-source Auto.js ended in 2020. On December 2, 2026, the AutoJs6 maintainer announced that maintenance would end and planned one final release, 6.8.1, before January 1, 2027. Editing and running JavaScript still requires a scripting environment. Use Dev Tools for the part of the job where you inspect the screen and record what it exposes. Original project history / AutoJs6 maintainer announcement

2. Select a button or label on the screen

  1. 2.1Start Inspect Layout from the App section. Follow the prompts to enable accessibility for reading the screen and allow the floating control to appear.
  2. 2.2Switch to the app you’re checking. Once the screen settles, tap the floating control and select the location you want to inspect.
  3. 2.3Use the up and down arrows to move between a node and its parent or child. Use the left and right arrows to move between siblings. Check the highlight after each move so you know which view the properties describe.

3. Record the fields you used in Auto.js

Read the same screen again and confirm that the highlight and properties point to the intended element. If the ID is empty, record the available label, class and parent along with the app version and screen name. You can save the layout when you need to share the tree. Inspect Layout walkthrough

Feedback