public void onClick(View v) {
final Handler handler = new Handler();
new Thread(new Runnable() {
@Override
public void run() {
try {
Thread.sleep(100);
} catch (InterruptedException e) {
}
handler.post(new Runnable() {
@Override
public void run() {
scrollView_On_Top.fullScroll(View.FOCUS_UP);
//scrollView_On_Top.fullScroll(View.FOCUS_DOWN);
}
});
}
}).start();
}
No comments:
Post a Comment