Is it possible to define the initial position of a ScrollView in the xml?

I found some posts here on the stackoverflow that showed how to set the starting position of a ScrollView. Only none of them is via xml, I was wondering if that is possible.

Looking at the attributes of a ScrollView in android studio I found scrollX and scrollY, can they define the initial position of ScrollView?

enter image description here

And if scrollX and scrollY don't solve, is there any other attribute that can define the initial position of a ScrollView?

Answers 1

Related Articles