[Android- Appium]Scroll an element(android.widget.HorizontalScrollView) left , I just want to scroll the element not the screen

it can scroll ONLY whole scrollable list. not item. with item you need to use TOUCH actions like: start press down at point X and move to point Y. → http://appium.io/docs/en/writing-running-appium/touch-actions/

Also try to add “scrollable(true)” and use “resourceIdMatches” better:

“new UiScrollable(new UiSelector().resourceIdMatches(\"*.my_id\").scrollable(true)).setAsHorizontalList().scrollIntoView(new UiSelector().text(\"text\"))”