Skip to content

Most visited

Recently visited

navigation

Root

public final class Root
extends Object

java.lang.Object
   ↳ android.support.test.espresso.Root


Represents a root view in the application and optionally the layout params of the window holding it. This class is used internally to determine which view root to run user provided matchers against it is not part of the public api.

Summary

Nested classes

class Root.Builder

 

Public methods

View getDecorView()
Optional<WindowManager.LayoutParams> getWindowLayoutParams()
String toString()

Inherited methods

From class java.lang.Object

Public methods

getDecorView

View getDecorView ()

Returns
View

getWindowLayoutParams

Optional<WindowManager.LayoutParams> getWindowLayoutParams ()

Returns
Optional<WindowManager.LayoutParams>

toString

String toString ()

Returns
String
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.