android - How to Put Buttons on VideoView in Different Places? -


how put buttons on videoview , change video url on click event of buttons?

  1. use framelayout , add videoview & button layout. since framelayout allows children views overlay, can have visible button on videoview.

  2. implement onclick() listener listen button press event.

do need code same ?


Comments

Popular posts from this blog

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -

java - Why is BlockingQueue.take() not releasing the thread? -

php - How not to submit a form if no radio button is checked -