title: why can android's uiautomator not find element within a ListView when orientation is in portrait?
body: <p>I am using uiautomator to select text from a ListView. In landscape mode, it scrolls through the list and finds the item fine; however, in portrait mode, it cannot find the text. The ListView is fully visible in portrait mode so scrolling is not required but this should't cause an error should it?</p>
  
  <p><code> </p>
  
  <pre><code>UiScrollable listView = new UiScrollable(new UiSelector().scrollable(
          true).className("android.widget.ListView"));
  
  UiObject button1 = listView.getChildByText(new UiSelector()
  .className(android.widget.CheckedTextView.class.getName()),
          "Text");
  
  button1.click();
  </code></pre>
  
  <p></code></p>
  
  <p>Error is as follows:</p>
  
  <pre><code>com.android.uiautomator.core.UiObjectNotFoundException: for text= "Text"
  at com.android.uiautomator.core.UiCollection.getChildByText(UiCollection.java:111)
  at com.android.uiautomator.core.UiScrollable.getChildByText(UiScrollable.java:189)
  at com.android.uiautomator.core.UiScrollable.getChildByText(UiScrollable.java:166)
  </code></pre>