I want to use the SCI Schart view over the smartphone camera surfaceview layout.
When the SCI Chart view is overlapped on the camera surfaceview, only the camera image is visible.
How can the SCI Chart view look normal on the camera surfaceview?
- You must login to post comments
Hi there,
I think this happens because by default we use render surface which is based on GLSurfaceView. GLSurfaceView has the best performance but it has a drawback – GLSurfaceView is drawn outside of Android’s view hierarchy and doesn’t support transparency.
Please can you try to switch to other render surface implementation. For example you could try to switch on GLTextureView which is based on TextureView. It was created to resolve problems which I described above but it isn’t so fast as our default render surface:
sciChartSurface.setRenderSurface(new GLTextureView(getActivity()));
Hope this will help you.
Best regards,
Yura
- Yura Khariton answered 7 years ago
- You must login to post comments
Please login first to submit.