We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
初步怀疑是以下方法 private void fullViewAddView(View view) { //增强逻辑判断,尤其是getWindow() if (context!=null && context instanceof Activity){ Activity activity = (Activity) context; if (activity.getWindow()!=null){ FrameLayout decor = (FrameLayout) activity.getWindow().getDecorView(); videoFullView = new FullscreenHolder(activity); videoFullView.addView(view); X5LogUtils.i("--Video-----onShowCustomView----添加view到decorView容齐中---"); decor.addView(videoFullView); } } } 添加到decorView上面的videoFullView未被移除掉 接下来只能先重新整个类
private void fullViewAddView(View view) { //增强逻辑判断,尤其是getWindow() if (context!=null && context instanceof Activity){ Activity activity = (Activity) context; if (activity.getWindow()!=null){ FrameLayout decor = (FrameLayout) activity.getWindow().getDecorView(); videoFullView = new FullscreenHolder(activity); videoFullView.addView(view); X5LogUtils.i("--Video-----onShowCustomView----添加view到decorView容齐中---"); decor.addView(videoFullView); } } }
The text was updated successfully, but these errors were encountered:
哥们,后面找到解决的方法了么 ,我也遇到了这个问题
Sorry, something went wrong.
No branches or pull requests
初步怀疑是以下方法
private void fullViewAddView(View view) { //增强逻辑判断,尤其是getWindow() if (context!=null && context instanceof Activity){ Activity activity = (Activity) context; if (activity.getWindow()!=null){ FrameLayout decor = (FrameLayout) activity.getWindow().getDecorView(); videoFullView = new FullscreenHolder(activity); videoFullView.addView(view); X5LogUtils.i("--Video-----onShowCustomView----添加view到decorView容齐中---"); decor.addView(videoFullView); } } }
添加到decorView上面的videoFullView未被移除掉
接下来只能先重新整个类
The text was updated successfully, but these errors were encountered: