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

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

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