Hi,

I would like to position the media controller above the VideoView (just as 
what everybody will be expecting the controller to be). However, the media 
controller keep appearing on top of the bottom of activity!

I have used setAnchorView to set the videoView as the anchor view, but the 
result is the same.

        final VideoView videoView = (VideoView) 
rootView.findViewById(R.id.videoview);
        MediaController mc = new MediaController(getActivity());
        mc.setAnchorView(videoView);         // this does not seem to work
        videoView.setMediaController(mc);

Any suggestions?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to