
tMediaController(new MediaController(getContext())) videoView = (VideoView) view.findViewById(R.id.video_view) `onViewCreated` in `MainFragment` will setup the VideoView and begin playing the sample video.

In the `onCreate` of the Activity, the `MainFragment` is added: getSupportFragmentManager().beginTransaction().add(R.id.content_layout, MainFragment.newInstance(), "MAIN_FRAGMENT").commit()

There is no need to download the sample project as the code snippets below will be enough explanation. I have reported the issue and though I probably wouldn’t consider this a bug in the Android framework, I would consider it unexpected behavior. I have created a sample project here which shows the issue and where the code snippets below will be taken from. This however, is not the case when it comes to VideoViews, which require you to call `tZOrderMediaOverlay(true)` on the VideoView you would like to appear on top. As is the case with most Views, when adding a Fragment on top of another, the top Fragment will have its Views drawn on top of the bottom Fragment. Recently, in a client project, I ran into an issue with VideoViews overlapping each other, even though they were part of different Fragments.
