return false for ridView.setOnTouchListener

NOT TESTED

should allow both click and scrolling?

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2021-07-01 21:59:11 +02:00
parent 98f8a29eae
commit 8e8fd882f9
No known key found for this signature in database
GPG Key ID: C793F8B59F43CE7B

View File

@ -505,15 +505,15 @@ public class CallController extends BaseController {
pipVideoView.setOnTouchListener(new SelfVideoTouchListener());
}
// gridView.setOnTouchListener(new View.OnTouchListener() {
// public boolean onTouch(View v, MotionEvent me) {
// int action = me.getActionMasked();
// if (action == MotionEvent.ACTION_DOWN) {
// showCallControls();
// }
// return true;
// }
// });
gridView.setOnTouchListener(new View.OnTouchListener() {
public boolean onTouch(View v, MotionEvent me) {
int action = me.getActionMasked();
if (action == MotionEvent.ACTION_DOWN) {
showCallControls();
}
return false;
}
});
initGridAdapter();
}