We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
GPreviewBuilder.from((Activity)mContext) .setData(list) .setFullscreen(true) .setCurrentIndex(position) .setType(GPreviewBuilder.IndicatorType.Dot) .start();//启动 设置 全屏显示 返回时有诡异的位置偏移,感觉是计算坐标时需要考虑状态栏的高度,希望能适配一下 ,多谢啦
The text was updated successfully, but these errors were encountered:
startTransform.left = thumbRect.left; // startTransform.top = thumbRect.top - ImageUtils.getStatusBarHeight(getContext()); startTransform.top = thumbRect.top; 全屏的问题找到解决方案了 原来是算坐标的时候把状态栏高度加进去了,去掉状态栏高度就可以实现全屏了
Sorry, something went wrong.
好的谢谢,的完善的 我今天加上
更新了你看一下
图片加载完成,进度条无法隐藏
@kimlllll 查看你回调处理哦
No branches or pull requests
GPreviewBuilder.from((Activity)mContext)
.setData(list)
.setFullscreen(true)
.setCurrentIndex(position)
.setType(GPreviewBuilder.IndicatorType.Dot)
.start();//启动
设置 全屏显示 返回时有诡异的位置偏移,感觉是计算坐标时需要考虑状态栏的高度,希望能适配一下 ,多谢啦
The text was updated successfully, but these errors were encountered: