Commit 6fb28a8d by insun Committed by Oliver Woodman

Hide fullscreen button if no listener is registered

PiperOrigin-RevId: 322912266
parent ec78bde5
......@@ -562,6 +562,7 @@ public class StyledPlayerControlView extends FrameLayout {
}
fullScreenButton = findViewById(R.id.exo_fullscreen);
if (fullScreenButton != null) {
fullScreenButton.setVisibility(GONE);
fullScreenButton.setOnClickListener(this::onFullScreenButtonClicked);
}
settingsButton = findViewById(R.id.exo_settings);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment