Java Code Examples for android.widget.VideoView#setZOrderOnTop()
The following examples show how to use
android.widget.VideoView#setZOrderOnTop() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CompatibilityImpl.java From Overchan-Android with GNU General Public License v3.0 | 4 votes |
@TargetApi(Build.VERSION_CODES.ECLAIR) public static void setVideoViewZOrderOnTop(VideoView videoView) { videoView.setZOrderOnTop(true); }
Example 2
Source File: VideoPlayerActivity.java From media-for-mobile with Apache License 2.0 | 3 votes |
private void init() { mVideoView = (VideoView) findViewById(R.id.video_view); mVideoController = new MediaController(this, false); mVideoView.setMediaController(mVideoController); mVideoView.requestFocus(); mVideoView.setZOrderOnTop(true); }