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

iphone - Using nested NSDictionary with Picker -

javascript - Iterate over array and calculate average values of array-parts -

php - accessing mysql using different server to which db connection data is located -