Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
Mountain View desk5 min

How to Inspect Elements on Android Devices

Use Layout Inspector for your running app, UI Automator for testable controls, and accessibility tools plus TalkBack to check the real user experience.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To inspect elements on Android, choose the tool for the job: use Android Studio’s Layout Inspector to examine your own app’s live layout and properties, UI Automator to find controls exposed to automated tests, and accessibility checks plus TalkBack to review the experience for assistive-technology users. These tools show different views of an interface; none is a universal inspector for every pixel on screen.

Choose the right Android inspection tool

Your goal Start with What it reveals Important limit
Debug a running app’s layout Android Studio Layout Inspector Runtime component tree, attributes, selection, snapshots, and Compose details Behavior can vary by Android Studio and device version; attribute inspection may restart an activity. Android Developers’ Layout Inspector guide
Locate or interact with controls in a test UI Automator Elements exposed in the UI or accessibility hierarchy and APIs to find and interact with them It is not a universal pixel inspector. Accessibility testing for Views and UI Automator guide
Find common accessibility problems Accessibility Scanner and Android Studio checks Suggestions about labels, contrast, and layout or interaction issues Automated checks cannot establish that every runtime interaction is accessible; secure windows limit scanning. Android accessibility testing and Accessibility Scanner FAQ
Understand screen-reader behavior TalkBack and other accessibility services How labels, focus, and navigation are experienced by users Test the app directly with assistive technology as well as using automated checks. Compose inspect and debug guidance

Inspect a running app with Layout Inspector

Layout Inspector is the best starting point when you are developing an app and need to see its runtime structure, including View, Compose, or mixed interfaces. It can show the component tree and attributes, let you select components, and provide snapshots for later examination. For Compose, it also exposes composable structure and can help identify recomposition or skipped recomposition behavior. See the official Layout Inspector guide for version-specific details.

  1. Run the app in an emulator or on a connected Android device.
  2. Open Running Devices in Android Studio and start Layout Inspector.
  3. Select a node in the Component Tree to examine its attributes and corresponding on-screen component.
  4. If overlapping elements make selection difficult, use Deep Inspect to select the component, then turn Deep Inspect off to interact with the app again.

You can also export and import layout snapshots or load a bitmap overlay to compare the rendered screen with a design mockup. Attribute inspection may restart an activity on some combinations of Android Studio and device; check the current guide for your setup rather than assuming the behavior is identical everywhere.

Inspect controls for UI automation

Use UI Automator when the question is whether a test can find and operate a visible control. Android documents UI Automator Viewer as a graphical way to scan the foreground interface and inspect component properties. Its testing documentation also describes modern predicate-based APIs for finding and interacting with elements, plus waiting for the accessibility tree to settle when a test needs the interface to stabilize before checking elements or taking a screenshot. Consult the UI Automator documentation for the API surface and setup that match your project.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
Samsung Galaxy A17 5G Smart Phone 128GB US 1 Yr Manufacturer Warranty Black
  • YOUR CONTENT, SUPER SMOOTH: The ultra-clear 6.7" FHD+ Super AMOLED display of Galaxy A17 5G helps bring your content to life, whether you're scrolling through recipes or video chatting with loved ones.¹
  • LIVE FAST. CHARGE FASTER: Focus more on the moment and less on your battery percentage with Galaxy A17 5G. Super Fast Charging powers up your battery so you can get back to life sooner.²
  • MEMORIES MADE PICTURE PERFECT: Capture every angle in stunning clarity, from wide family photos to close-ups of friends, with the triple-lens camera on Galaxy A17 5G.
  • NEED MORE STORAGE? WE HAVE YOU COVERED: With an improved 2TB of expandable storage, Galaxy A17 5G makes it easy to keep cherished photos, videos and important files readily accessible whenever you need them.³
  • BUILT TO LAST: With an improved IP54 rating, Galaxy A17 5G is even more durable than before.⁴ It’s built to resist splashes and dust and comes with a stronger yet slimmer Gorilla Glass Victus front and Glass Fiber Reinforced Polymer back.

A hierarchy is only a representation of what the app and framework expose. Custom-drawn content or visual details may not appear as separate nodes. If an element is missing, compare the hierarchy with the screen and test the intended interaction; do not assume that a missing node means the pixels are absent or that a visible shape is independently actionable.

Check accessibility labels and real assistive-technology behavior

For accessibility review, inspect labels and semantics, run available checks, and then use the app with TalkBack or another relevant accessibility service. Android’s Compose guidance identifies Layout Inspector, UI Automator, and Android Accessibility Suite tools as ways to examine an experience, while recommending testing with actual assistive technologies to understand what users encounter. A content label may be spoken by TalkBack without appearing as visible text.

Rank #2
Tracfone Motorola Moto G 2025, 64GB, Saphire Blue (Locked to
  • Carrier: This phone is locked to Tracfone, which means this device can only be used on the Tracfone wireless network. Tracfone plan required, activating is easy, just 3 steps.
  • DISPLAY: Immersive viewing on a 6.7-inch super-bright 120Hz display with powerful stereo speakers and Bass Boost for cinematic entertainment.
  • CAMERA SYSTEM: Advanced 50MP Quad Pixel camera captures sharp, detailed photos and videos in any lighting condition
  • PERFORMANCE: Lightning-fast 5G connectivity paired with a powerful processor and RAM Boost for smooth multitasking.
  • BATTERY LIFE: Long-lasting 5000mAh battery with TurboPower charging technology delivers hours of power in minutes.
  • Accessibility Scanner: scans the screen and suggests ways to improve accessibility, including potential missing labels and layout or interaction concerns. Its suggestions are not proof that the whole app is accessible. See Accessibility Scanner results.
  • Android Studio accessibility checks: use these to identify issues the checks support, then verify behavior on the device.
  • Manual testing: navigate with TalkBack and confirm that controls have understandable names, focus order makes sense, and actions work without relying only on sight.

Some checks cannot detect issues that arise only while an app is running on a device. Secure windows using FLAG_SECURE cannot be captured for Accessibility Scanner image or contrast analysis, so a scan may not cover those screens. See Google’s Accessibility Scanner FAQ and Android’s accessibility testing guidance.

Common inspection problems and what to try

  • The element is visible but absent from the tree: the tree reflects exposed UI or semantics, not every pixel. Check whether the content is custom-drawn, compare with the visible screen, and test the interaction directly.
  • A component is hard to select because another overlaps it: use Layout Inspector’s Deep Inspect to select it, then disable Deep Inspect before resuming interaction.
  • The app restarts while you inspect attributes: attribute inspection can trigger an activity restart on some tool/device combinations. Check the current Android Studio guide for your version and device.
  • Scanner cannot analyze a screen: secure content marked with FLAG_SECURE prevents image-based or contrast analysis. Use other supported checks and manual accessibility testing instead.
  • An automated check passes but an interaction still feels inaccessible: automated checks have limits, including runtime behavior. Test the workflow with TalkBack or the relevant accessibility service.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

For inspecting an Android app’s hierarchy, use the Android tools above. If your task is instead to capture a website for documentation or a web-based workflow, ScreenshotNeo offers a one-request screenshot API; its options and response details are in the ScreenshotNeo documentation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

Best Value
Tracfone Moto g Play 2024 Prepaid Phone with a 1-Yr Plan Included
  • Carrier: This phone is locked to Tracfone, which means this device can only be used on the Tracfone wireless network. Activating is easy, just 3 steps.
  • ACTIVATION Promotion: Includes 1500 min, 1500 texts & 1500 MB Data + add more as you need it
  • CAMERA SYSTEM: 50MP Quad Pixel camera. Capture sharper, more vibrant photos day or night with 4x the light sensitivity.
  • PERFORMANCE: Blazing-fast Qualcomm performance. Get the speed you need for great entertainment with a Snapdragon 680 processor and 4GB of RAM.
  • 64GB built-in storage. Get plenty of room for photos, movies, songs, and apps. Made for US
Rank #4
Sale
Samsung Galaxy S26 Ultra, Unlocked Android Smartphone, 512GB, Black
  • PRIVACY DISPLAY: Automatically hide your screen from those beside you. The built-in privacy display can be preset¹ to turn on when receiving notifications, typing passwords, or using specific apps
  • TYPE IT IN. TRANSFORM IT FAST: Enhance any shot in seconds on your smartphone by using Photo Assist² with Galaxy AI.³ Add objects, restore details, or apply new styles by simply typing or tapping
  • NIGHTS, CAPTURED CLEARLY: From gigs to city lights, record and capture moments after dark with clarity using Nightography so your photos and videos stay crisp and clear on your Samsung Galaxy
  • MAKE IT. EDIT IT. SHARE IT: Turn everyday moments into something personal with creative tools built right into your mobile phone, whether it’s a special contact photo, custom wallpaper, an invitation or more⁴
  • HELP THAT KEEPS UP: Stay in the moment while Now Nudge with Galaxy AI helps you respond faster and stay organized with smart suggestions⁵ that appear exactly when you need them on your phone
Rank #3
Sale
Samsung Galaxy A17 5G Smart Phone 128GB, US 1 Yr Manufacturer Warranty Blue
  • YOUR CONTENT, SUPER SMOOTH: The ultra-clear 6.7" FHD+ Super AMOLED display of Galaxy A17 5G helps bring your content to life, whether you're scrolling through recipes or video chatting with loved ones.¹
  • LIVE FAST. CHARGE FASTER: Focus more on the moment and less on your battery percentage with Galaxy A17 5G. Super Fast Charging powers up your battery so you can get back to life sooner.²
  • MEMORIES MADE PICTURE PERFECT: Capture every angle in stunning clarity, from wide family photos to close-ups of friends, with the triple-lens camera on Galaxy A17 5G.
  • NEED MORE STORAGE? WE HAVE YOU COVERED: With an improved 2TB of expandable storage, Galaxy A17 5G makes it easy to keep cherished photos, videos and important files readily accessible whenever you need them.³
  • BUILT TO LAST: With an improved IP54 rating, Galaxy A17 5G is even more durable than before.⁴ It’s built to resist splashes and dust and comes with a stronger yet slimmer Gorilla Glass Victus front and Glass Fiber Reinforced Polymer back.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

ScreenshotNeo accepts cookie and consent banners and removes more than 60 known consent platforms, newsletter popups, and chat widgets before capture; those steps can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed, and response headers indicate the page verdict and billing status. Its MCP server provides take_screenshot, get_page_info, and capture_pdf for AI agents. The Free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots. See ScreenshotNeo for plan details. Sign up free for 1,000 screenshots a month with no card.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. Shenzhen desk3 min
    HONOR Expands Beyond Smartphones With Humanoid Robot RevealHONOR said it unveiled its first humanoid robot at MWC 2026 and named shopping assistance, workplace inspections, and supportive companionship as intended uses. Later Robotics D1 claims and a reported…
  2. Cupertino desk5 min
    Apple Unveils AirPods Max 2: The Upgrade That Should Have Happened Years AgoAirPods Max 2 adds H2-powered audio features and Apple claims up to 1.5× more effective ANC, but its design, Smart Case, and 20-hour battery rating are unchanged. Wired lossless audio…
  3. Cupertino desk4 min
    Apple’s OLED Touch MacBooks Are Coming—but the Dynamic Island Is the Real GambleApple has not announced an OLED touchscreen MacBook, but reports point to high-end models arriving in late 2026 or early 2027. The reported Mac Dynamic Island could be useful, but…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.