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

objective c - Newbie question -multiple parameters -

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

iphone - Using nested NSDictionary with Picker -