I m using VideoView
to display video.
My Requirement is a MediaController
wid play/Pause, Stop, & Volume Contoller
..
i tried
MediaController mc = new MediaController(this);
View mMediaControllerView = (View)findViewById(R.id.mediaController1);
mc.setAnchorView(mMediaControllerView);
videoView.setMediaController(mc);
adding an imageview
to the layout
but this seems to have no effect on the MediaController
need some guidance/hint to proceed further...
Thanks.
You have to write the MediaController Class all over again extending a FrameLayout .The Layout that it uses should be customised. Get the copy from android source code of MediaController Class and then proceed ahead.