Answers for "make layout not clickable android"

0

make layout not clickable android

YOUR_RELATIVE_LAYOUT.setOnTouchListener(new OnTouchListener() {
    @Override
    public boolean onTouch(View v, MotionEvent event) {
        // ignore all touch events
        return true;
    }
});
Posted by: Guest on October-30-2020

Browse Popular Code Answers by Language