-
Notifications
You must be signed in to change notification settings - Fork 271
Open
Description
初步怀疑是以下方法
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未被移除掉
接下来只能先重新整个类
Metadata
Metadata
Assignees
Labels
No labels