Skip to content Skip to sidebar Skip to footer

Scrolling To View Was Attempted, But The View Is Not Displayed

With Espresso I try to scroll to a textview inside linearlayout - but I am getting this exception: android.support.test.espresso.PerformException: Error performing 'scroll to' on

Solution 1:

The problem appears when the ScrollView has a padding - gave it to the layout inside the ScrollView and everything works fine. Maybe a bug in the calculation of coordinates.

For example:

code change

Post a Comment for "Scrolling To View Was Attempted, But The View Is Not Displayed"