[英]How to make Scrollview automatically scroll to the bottom when RadioButton is clicked
[英]How Scroll android Scrollview automatically and lock it when comes to bottom
我正在創建需要緩慢滾動滾動視圖到底部並鎖定在底部的應用程序。 我已經嘗試了幾種方法,但是不能正常工作? 任何庫或源代碼?
檢查此鏈接。 也許您會得到理想的結果。
編輯:
new CountDownTimer(2000, 20) {
public void onTick(long millisUntilFinished) {
scrolView.scrollTo((x,y));
}
public void onFinish() {
}
}.start();
或代替scrollTo()嘗試使用scrollBy()
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.