title: UIScrollable getChildByText doesnt scroll enough before it gives up
body: <p>I am using the uiautomator tool to write some Automated Tests for my app.</p>
  
  <p>Here is the code that is problematic:</p>
  
  <pre><code>UiScrollable appViews = new UiScrollable(new UiSelector().scrollable(true));
  appViews.setAsHorizontalList(); // works on API 17+
  UiObject settingsApp = appViews.getChildByText(new UiSelector().className(android.widget.TextView.class.getName()), "Settings");
          settingsApp.clickAndWaitForNewWindow();
  </code></pre>
  
  <p>When I run this on a KitKat phone, phone goes to home screen, then clicks "Apps" then selects "Apps tab" (this part of the code has been omitted from this post for clarity) and then it starts looking for the "Settings" icon - it scrolls horizontally once to the left, the "Downloaded" tab gets selected, then it scrolls back to the right, Settings is not there so the test fails.</p>
  
  <p>I then got the phone in my hands and scrolled once more to the left and there "Settings" was.</p>
  
  <p>My question is why didnt it scroll through all the pages until it found where "Settings" was?</p>