Reputation: 1411
In androidTV is there any way to hide and show the PlaybackcontrolsRow programmatically? (I check the official documentation, but there is nothing related to it)
Thanks
Upvotes: 0
Views: 611
Reputation: 8038
The PlaybackFragment
has the methods you want to achieve this.
tickle()
will show the controls.
hideControlsOverlay()
will hide the controls.
For those not on the latest version of Leanback:
The PlaybackOverlayFragment
has the methods you want to achieve this.
tickle()
will show the controls.
fadeOut()
will hide the controls.
Upvotes: 2