Revision control

Copy as Markdown

package org.mozilla.vrbrowser.ui.views;
import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.FrameLayout;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
public class ScrollBlockingLayout extends FrameLayout {
public ScrollBlockingLayout(@NonNull Context context) {
super(context);
}
public ScrollBlockingLayout(@NonNull Context context, @Nullable AttributeSet attrs) {
super(context, attrs);
}
public ScrollBlockingLayout(@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
super(context, attrs, defStyleAttr);
}
public ScrollBlockingLayout(@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr, int defStyleRes) {
super(context, attrs, defStyleAttr, defStyleRes);
}
@Override
public boolean onGenericMotionEvent(MotionEvent event) {
return true;
}
}