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

用的DanMuSurfaceView 设置透明之后的问题 #27

Open
illdvm opened this issue Nov 29, 2019 · 0 comments
Open

用的DanMuSurfaceView 设置透明之后的问题 #27

illdvm opened this issue Nov 29, 2019 · 0 comments

Comments

@illdvm
Copy link

illdvm commented Nov 29, 2019

mDanMuContainerBroadcast.setZOrderOnTop(true);
mDanMuContainerBroadcast.getHolder().setFormat(PixelFormat.TRANSLUCENT); 这样设置之后DanMuSurfaceView透明了 但是DanMuSurfaceView外面套了一层ScrollView 上下滑动的时候DanMuSurfaceView会穿透所有控件 覆盖在别的布局之上 这个问题怎么解决?还是我设置透明的方式不对?

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

1 participant