editText.setOnTouchListener(new View.OnTouchListener() {
@Override
public boolean onTouch(View v, MotionEvent event) {
// 解决EditText、ScrollView滑动冲突问题
scrollView.requestDisallowInterceptTouchEvent(true);
return false;
}
});
editText.setOnTouchListener(new View.OnTouchListener() {
@Override
public boolean onTouch(View v, MotionEvent event) {
// 解决EditText、ScrollView滑动冲突问题
scrollView.requestDisallowInterceptTouchEvent(true);
return false;
}
});