mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Hide fullscreen button if no listener is registered
PiperOrigin-RevId: 322912266
This commit is contained in:
parent
ec78bde50c
commit
6fb28a8dc9
1 changed files with 1 additions and 0 deletions
|
|
@ -562,6 +562,7 @@ public class StyledPlayerControlView extends FrameLayout {
|
||||||
}
|
}
|
||||||
fullScreenButton = findViewById(R.id.exo_fullscreen);
|
fullScreenButton = findViewById(R.id.exo_fullscreen);
|
||||||
if (fullScreenButton != null) {
|
if (fullScreenButton != null) {
|
||||||
|
fullScreenButton.setVisibility(GONE);
|
||||||
fullScreenButton.setOnClickListener(this::onFullScreenButtonClicked);
|
fullScreenButton.setOnClickListener(this::onFullScreenButtonClicked);
|
||||||
}
|
}
|
||||||
settingsButton = findViewById(R.id.exo_settings);
|
settingsButton = findViewById(R.id.exo_settings);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue