use Dialog For Fullscreen
Configuration setting: This can also be set using .configureMediaPlayer and the ArcXPVideoConfig object. Fullscreen can be displayed either as a dialog that takes up the full device screen or by setting the layout parameters of the ArcVideoFrame to match_parent for both width and height. The preference depends on how the layout is built. If the video frame is a direct child of the root layout then a dialog is not necessary. If the video frame is not a direct child, i.e. it is the child of another view inside of the root view, setting the layout parameters will only expand it to the size of its parent view and will not make it full screen but rather the full size of the parent view. In this case a dialog should be used. This is provided to allow flexibility based upon how the layout is built.
Return
Media player object
Parameters
true=use dialog, false=expand view