title: android expresso testing fail calling onview twice
body: <p>I'm testinig code I've written for android, I'm using JUnit4 and <code>android.support.test.espresso.Espresso.*</code>.
  It happens if I call twice <code>onview</code> on a previous called android object like an <code>EditText</code>, <code>TexView</code>, <code>Button</code> or else, I get an exception, I don't know if I'm missing something or it is a bug, how to fix that?</p>
  
  <pre><code>onView(withId(R.id.name))
          .perform(typeText(NAME), closeSoftKeyboard());
  onView(withId(R.id.surname))
          .perform(typeText(SURNAME), closeSoftKeyboard());
  onView(withId(R.id.name))
          .perform(replaceText(NAME), closeSoftKeyboard());
  </code></pre>
  
  <p>Error log:</p>
  
  <pre><code>android.support.test.espresso.PerformException: Error performing 'replace text' on view 'with id: com.myapp:id/name'.
      at android.support.test.espresso.PerformException$Builder.build(PerformExceptio 
   n.java:84)
  
      at android.support.test.espresso.base.DefaultFailureHandler.getUserFriendlyError(DefaultFailureHandler.java:81)
      at android.support.test.espresso.base.DefaultFailureHandler.handle(DefaultFailureHandler.java:52)
      at android.support.test.espresso.ViewInteraction.waitForAndHandleInteractionResults(ViewInteraction.java:312)
      at android.support.test.espresso.ViewInteraction.desugaredPerform(ViewInteraction.java:167)
      at android.support.test.espresso.ViewInteraction.perform(ViewInteraction.java:110)
      at com...
  Caused by: java.lang.RuntimeException: Action will not be performed because the target view does not match one or more of the following constraints:
  (is displayed on the screen to the user and is assignable from class: class android.widget.EditText)
  </code></pre>
  
  <p>Layout xml:</p>
  
  <pre><code>   &lt;ScrollView
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:layout_marginTop="68dp"
      app:layout_constraintLeft_toLeftOf="parent"
      app:layout_constraintRight_toRightOf="parent"
      app:layout_constraintTop_toTopOf="parent"&gt;
  
      &lt;GridLayout
          android:id="@+id/gridLayout1"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:columnCount="2"
          android:orientation="horizontal"
          android:rowCount="9"&gt;
     &lt;TextView
              android:id="@+id/nameLabel"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="@string/nomeLabel" /&gt;
  
          &lt;EditText
              android:id="@+id/name"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:ems="10"
              android:inputType="textPersonName" /&gt;
  
          &lt;TextView
              android:id="@+id/surnameLabel"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="@string/cognomeLabelVal" /&gt;
  
          &lt;EditText
              android:id="@+id/surname"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:ems="10"
              android:inputType="textPersonName" /&gt;
  
          &lt;Button
              android:id="@+id/saveId"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:enabled="false"
              android:onClick="save"
              android:text="@string/saveName" /&gt;
      &lt;/GridLayout&gt;
  
  &lt;/ScrollView&gt;
  </code></pre>