mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Hide fullscreen button if no listener is registered
PiperOrigin-RevId: 322912266
This commit is contained in:
parent
ec78bde50c
commit
6fb28a8dc9
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user