i using constantanchormediacontroller posted in this answer in order limit media controls small window play videos. use little padding since controls somehow seem attached bottom of screen.
mvideoview = (videoview) view.findviewbyid(r.id.videoviewslideshow); mmedia = new constantanchormediacontroller(getactivity(), mvideoview); mmedia.setmediaplayer(mvideoview); mmedia.setpadding(0, 0, 0, 50); mvideoview.setmediacontroller(mmedia);
the problem when play controls mediacontroller shown, other elements in screen (i have few buttons) seem blocked; of them work (the furthest video window) yet show no ui response (i.e. buttons don't change color when pressed), don't work, though video controls overlay "above them" when not (visually, @ least).
hiding media controls makes ui work again.
Comments
Post a Comment