natario1 / ZoomLayout

2D zoom and pan behavior for View hierarchies, images, video streams, and much more, written in Kotlin for Android.
https://natario1.github.io/ZoomLayout
Apache License 2.0
1.06k stars 148 forks source link

ZoomLayout + GLTextureView compatibility #180

Closed Dimezis closed 4 years ago

Dimezis commented 4 years ago

Does ZoomLayout support the GLTextureVIew (TextureView with OpenGL setup from https://github.com/cats-oss/android-gpuimage)? Currently my GLTextureVIew stops rendering (basically disappears) when wrapped into ZoomLayout. If it's not a known limitation, I can provide some debug info.

Version used

1.8.0

Dimezis commented 4 years ago

Alright, TextureView is not an issue here, seems like ZoomLayout has some weird measurement process that makes the child have width and height = 0