I am trying to add a custom button at the top right of the screen and in the front of JWPlayerFragment. In the portrait mode, the player in the middle of screen, so the custom button display properly. However, in the landscape mode, the player is full screen and the custom button is hidden. Here is my xml:
My question is how to show my custom button in landscape mode. Currently it is covered by player view even though I added my custom button in the front of it.
↧