Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

WindowInspector

public final class WindowInspector
extends Object

java.lang.Object
   ↳ android.view.inspector.WindowInspector


Provides access to window inspection information.

Summary

Public methods

static List<View> getGlobalWindowViews()

Inherited methods

Public methods

getGlobalWindowViews

public static List<View> getGlobalWindowViews ()

Returns
List<View> the list of all window views attached to the current process This value will never be null.