Swapnil Godambe
Swapnil Godambe
I'm also getting the same issue.
@orhanobut most of the time when app crashes. Now I am trying without encryption.
We are also not able to reproduce the issue. But, crashlytics reports it most of the time.
Add this to toggleFullScreen() DisplayMetrics metrics = new DisplayMetrics(); getWindowManager().getDefaultDisplay().getMetrics(metrics); android.widget.LinearLayout.LayoutParams params = (android.widget.LinearLayout.LayoutParams) videoSurfaceContainer .getLayoutParams(); params.width = metrics.widthPixels; params.height = metrics.heightPixels; params.leftMargin = 0; videoSurfaceContainer.setLayoutParams(params);