我需要使用SetOnTouchListener:cardLinearLayout.SetOnTouchListener (this);//Can't use THIS, must be argument with IOnTouchListener type. Where can I get this argument?我想用它做ViewFlipper。也许其他方式存在。
我试图阻止使用服务和透明覆盖的设备上的触摸。该代码在Android上似乎运行良好,但在运行Oreo以下Android版本的设备上却不能正常工作: if (android.os.Build.VERSION.SDK_INTnoTouchUi.setOnTouchListener(new View.OnTouchListener()