Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将两个 EditText 控件放在一个 LinerLayout 中。并把它们一左一右。
现在想实现这样一个功能:当右边的EditText上下文上下滚动时,左边的edittext内容也同步滚动。
这该怎么做?非常感谢!
两个想法:
LinearLayout
EditText
ScrollView
View
scrollTo()
onScrollChanged()