Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

How to add a button to Android



Can I add buttons using the Android studio?

If you can, tell me how.

1 Community Answers

George

JW Player Support Agent  
-1 rated :

What kind of buttons are you trying to add?

In general you could use regular Android Views, setOnClickListener and call a method on the JWPlayerView. But you cannot add buttons to the JWPlayerView directly.

I happen to have a demo application here, when in fullscreen an X button appears in the top right corner.
http://qa.jwplayer.com.s3.amazonaws.com/~george/CustomOverlayUI.zip

This question has received the maximum number of answers.