public class EspIsDisplayedMatcher
extends java.lang.Object
| Constructor and Description |
|---|
EspIsDisplayedMatcher() |
| Modifier and Type | Method and Description |
|---|---|
static org.hamcrest.Matcher<android.view.View> |
isDisplayingAtLeast(int areaPercentage)
Assume visible area percentage.
|
public static org.hamcrest.Matcher<android.view.View> isDisplayingAtLeast(int areaPercentage)
Assume visible area percentage.
There is an bug on pre Android v11 versions where actionbar height can’t be resolved when using appcompat actionbar. This method use the appcompat actionbar height attribute when on pre v11 versions.
ViewMatchers.isDisplayingAtLeast(int)