From 11e5b756b14a2751352f97cde4fc027f441253ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hanno=20J=2E=20G=C3=B6decke?= Date: Wed, 10 Jan 2024 08:46:40 +0100 Subject: [PATCH] fix(android): support opacity properly (#3464) --- .../src/main/java/com/brentvatne/exoplayer/ExoPlayerView.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android/src/main/java/com/brentvatne/exoplayer/ExoPlayerView.java b/android/src/main/java/com/brentvatne/exoplayer/ExoPlayerView.java index c88d5ed3..b00b4e95 100644 --- a/android/src/main/java/com/brentvatne/exoplayer/ExoPlayerView.java +++ b/android/src/main/java/com/brentvatne/exoplayer/ExoPlayerView.java @@ -132,6 +132,8 @@ public final class ExoPlayerView extends FrameLayout implements AdViewProvider { } } else { view = new TextureView(context); + // Support opacity properly: + ((TextureView) view).setOpaque(false); } view.setLayoutParams(layoutParams);