fix(android): support opacity properly (#3464)

This commit is contained in:
Hanno J. Gödecke 2024-01-10 08:46:40 +01:00 committed by GitHub
parent b5ac4d6a11
commit 11e5b756b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,6 +132,8 @@ public final class ExoPlayerView extends FrameLayout implements AdViewProvider {
} }
} else { } else {
view = new TextureView(context); view = new TextureView(context);
// Support opacity properly:
((TextureView) view).setOpaque(false);
} }
view.setLayoutParams(layoutParams); view.setLayoutParams(layoutParams);