Video free multi window size is not changed in android 7.1

让人想犯罪 __ 提交于 2019-12-23 03:38:15

问题


I'm working on free multi window in android 7.1.

With test application free multi window is working perfect.(please fine screenshot 1)

Now Im playing video using MX player app, at that time free multi window size is not effecting.(please fine screenshot 2)

String mxPlayer = "com.xx.xx.ad";
    intent1 = new Intent(Intent.ACTION_VIEW);
    intent1.setPackage(mxPlayer);
    Uri videoUri = Uri.parse("http://xxx.75.135/Files/xxx/1_video/ideo.m3u");
    intent1.setDataAndType(videoUri, "application/mp4");
            startActivity(intent1, getActivityOptions(ApplicationType.CONTEXT_MENU).setLaunchBounds(new Rect(0, 0, 720, 512)).toBundle());

Could you please guide me to run video window size like attached image 1.

来源:https://stackoverflow.com/questions/47647041/video-free-multi-window-size-is-not-changed-in-android-7-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!