Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

LayoutMatchers

public final class LayoutMatchers
extends Object

java.lang.Object
   ↳ androidx.test.espresso.matcher.LayoutMatchers


A collection of hamcrest matches to detect typical layout issues.

Summary

Public methods

static Matcher<View> hasEllipsizedText()

Matches TextView elements having ellipsized text.

static Matcher<View> hasMultilineText()

Matches TextView elements having multiline text.

Inherited methods

From class java.lang.Object

Public methods

hasEllipsizedText

Matcher<View> hasEllipsizedText ()

Matches TextView elements having ellipsized text. If text is too long to fit into a TextView, it can be either ellipsized ('Too long' shown as 'Too l…' or '… long') or cut off ('Too long' shown as 'Too l'). Though acceptable in some cases, usually indicates bad user experience.

Returns
Matcher<View>

hasMultilineText

Matcher<View> hasMultilineText ()

Matches TextView elements having multiline text.

Returns
Matcher<View>