title: How to Scroll In an Android Tab Using UIAutomator
body: <p>i am trying to Scroll Using UIAutomator. The Scenario is I am entering the Settings menu in the tab and clicking on Apps options which gives me a list of all the apps in the tab. NOw i want to scroll the list of apps and this is where i am facing issues.It scrolls the Settings options and not the App list. I am attaching a screen shot and my piece of code.</p>
  
  <pre><code>            UiScrollable scroll = new UiScrollable(
                      new UiSelector().scrollable(true));
              scroll.setAsVerticalList();
  
              UiObject Apps = scroll.getChildByText(new UiSelector()
                      .className(android.widget.TextView.class.getName()),
                      "Apps");
              Apps.clickAndWaitForNewWindow();
              UiObject Locker = scroll.getChildByText(new UiSelector().className(android.widget.TextView.class.getName()),"Content Locker");
              Locker.clickAndWaitForNewWindow();
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/V8QUg.png" alt="Image"></p>