Closed GoogleCodeExporter closed 9 years ago
isDisplayed uses withEffectiveVisibility *and* view.getGlobalVisibleRect.
@Override
public boolean matchesSafely(View view) {
return view.getGlobalVisibleRect(new Rect()) &&
withEffectiveVisibility(Visibility.VISIBLE).matches(view);
}
Original comment by vale...@google.com
on 9 Jan 2014 at 7:38
Original issue reported on code.google.com by
K76...@gmail.com
on 26 Dec 2013 at 3:34