android - Customize Media Controller -


i m using videoview display video.

my requirement mediacontroller wid play/pause, stop, & volume contoller.. tried

         mediacontroller mc = new mediacontroller(this);            view mmediacontrollerview = (view)findviewbyid(r.id.mediacontroller1);           mc.setanchorview(mmediacontrollerview);          videoview.setmediacontroller(mc); 

adding imageview layout seems have no effect on mediacontroller

need guidance/hint proceed further...

thanks.

you have write mediacontroller class on again extending framelayout .the layout uses should customised. copy android source code of mediacontroller class , proceed ahead.


Comments

Popular posts from this blog

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

ASP.NET Javascript: window.open won't work twice -

jquery - Opera does not change the height of the page. Why? -