fix(android): support opacity properly (#3464)
This commit is contained in:
parent
b5ac4d6a11
commit
11e5b756b1
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user