我在我的组件中使用ScrollView
<ScrollView height="108"
orientation="horizontal"
sdkToggleNavButton>
.
.
.
some content
</ScrollView>
滚动宽度大约为1200,我正在寻找某种方式,当组件打开时,它将显示在该scrollView的中间
答案 0 :(得分:1)
使用scrollView.scrollToHorizontalOffset(position);