I've got a HorizontalPager from Accompanist and 2 pages both with an ExoPlayer view. When I set the ExoPlayer to resizeMode=RESIZE_MODE_ZOOM, the video zooms correctly, but somehow the surfaces of the video overlap. What would be the correct way to fix this? Somehow clipping it? (Modifier.clipToBounds didn't work) Change from SurfaceView to TextureView?
Joey
06/11/2021, 11:55 AM
Example:
c
cb
06/11/2021, 11:56 AM
@Mihai Popa
n
Nathan Castlehow
06/16/2021, 4:30 AM
@Joey did you find a solution for this? (running into the same problem)
j
Joey
06/16/2021, 6:16 AM
Unfortunately not yet, for now I left it as is as the app is still in early production, so perhaps one of the next compose releases magically fixes it ¯\_(ツ)_/¯