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

Utils#getNavigationBarHeight 增加小窗模式兼容 #28

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

hai004
Copy link

@hai004 hai004 commented Mar 9, 2023

兼容小窗模式,在Utils#getNavigationBarHeight里面判断如果是小窗模式,直接返回0,因为小窗模式没有NavigationBar

hai004 and others added 5 commits March 8, 2023 16:00
兼容小窗模式
Utils#getActivity 改为public方法
Utils#getActivity方法恢复为private
…式下的高度,导致popupWindow展示位置不对,改用View.getResources().getDisplayMetrics()获取宽/高度
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

Successfully merging this pull request may close these issues.

None yet

1 participant