WHOATEMYNOODLES
WHOATEMYNOODLES

Reputation: 2643

Exoplayer - How to only show control buttons when clicking screen

enter image description here

How do I hide these media player controls when exoplayer has started. I only want to show them if the user clicks on the screen.

Upvotes: 2

Views: 5895

Answers (1)

WHOATEMYNOODLES
WHOATEMYNOODLES

Reputation: 2643

PlayerView playerView = findViewById(R.id.player_view);
playerView.setControllerAutoShow(false);

setControllerAutoShow doesn't display the media control buttons onstart

Upvotes: 12

Related Questions