How to scroll element into view using resourceid NOT getChildByText

Hi,

I have written the following element selector which is working:

@AndroidFindBy(uiAutomator = “new UiScrollable(new UiSelector().className("android.widget.ScrollView")).getChildByText(” + “new UiSelector().resourceId("com.gbg.verify.gbgtestapp:id/formElementTitle"), "Cleanse Address")”)

However, I don’t want to use getChildByText - it isn’t necessary. The resourceId of the element I am searching for is unique. So I just want to search by resourceID WITHIN the scrollable element.

The scrollable element has a className of android.widget.ScrollView and the element I am searching for within this element has a resourceId of com.gbg.verify.gbgtestapp:id/formElementTitle.

How can I search for that resourceId without having to use getChildByText? Because if the text changes, the element will no longer be found.

Thanks for any advice.