Skip to content
New issue

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

刘海屏问题 #167

Open
dnwalter opened this issue Jul 27, 2019 · 1 comment
Open

刘海屏问题 #167

dnwalter opened this issue Jul 27, 2019 · 1 comment

Comments

@dnwalter
Copy link

大神,全面屏的时候,你这个好像不太适配刘海屏。设置全面屏,刘海屏的布局会被底部导航栏盖住一点,盖住的高度就是刘海的高度,这个还可以解决。但是刘海屏的全面屏的界面侧滑返回时,上一个界面会向上抖一下

@pacoGuan
Copy link

大神,全面屏的时候,你这个好像不太适配刘海屏。设置全面屏,刘海屏的布局会被底部导航栏盖住一点,盖住的高度就是刘海的高度,这个还可以解决。但是刘海屏的全面屏的界面侧滑返回时,上一个界面会向上抖一下

我也遇到这个问题了,你应该也是用了侧滑的第三方控件,这个问题主要是因为获取全屏视图的方法函数导致的。视频获取的方法是(JZUtils.scanForActivity(getContext())).findViewById(Window.ID_ANDROID_CONTENT);
第三方控件的方法是.getWindow().getDecorView()。
最好的修改方法是,重写视频类里面关于获取全屏视图的方法函数,统一使用.getWindow().getDecorView()。
有什么不明白的可以联系我,qq:2786538904,加我时注明是饺子视频

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants