@Test
public void ZoomInZoomOut() throws InterruptedException{
Thread.sleep(1000);
// Press Home Key
_driver.sendKeyEvent(AndroidKeyCode.HOME);
Thread.sleep(3000);
_driver.findElementByAccessibilityId("Apps").click();
_driver.findElement(By.name("ES File Explorer")).click();
Thread.sleep(2000);
_driver.findElement(By.name("Download")).click();
_driver.findElement(By.name("coming.pdf")).click();
Thread.sleep(1000);
int scrHeight = _driver.manage().window().getSize().getHeight(); //To get the mobile screen height
int scrWidth = _driver.manage().window().getSize().getWidth();//To get the mobile screen width
MultiTouchAction multiTouch = new MultiTouchAction(_driver);
TouchAction tAction0 = new TouchAction(_driver);
TouchAction tAction1 = new TouchAction(_driver);
System.out.println("scrWidth/2,scrHeight/2 :::::: " + scrWidth/2 +","+ scrHeight/2);
tAction0.press(scrWidth/4,scrHeight/4).waitAction(1000).moveTo(scrWidth/4,60).release();//press finger center of the screen and then move y axis
tAction1.press(scrWidth/4,(scrHeight/4)+40).waitAction(1000).moveTo(scrWidth/4,80).release();// press thumb slightly down on the center of the screen and then move y axis
multiTouch.add(tAction0).add(tAction1);
multiTouch.perform();// now perform both the actions simultaneously (tAction0 and tAction1)
Thread.sleep(10000);
}