title: How to force to click X(close, back button) in Displaymode (3) of VrVideoView?
body: <p>I am making a VR Android application using VrVideoView. I want to force "close(X, back button)" to be clicked after the video is played. That is, I want to return to MainActivity after the video finishes. Below is the codes I've tried. However, I did not go back to MainActivity after the video was finished. If you know how, please let me know.</p>
  
  <p>1.</p>
  
  <pre><code>videoWidgetView.pauseVideo();
  videoWidgetView.seekTo(0);
  videoWidgetView.shutdown();
  </code></pre>
  
  <p>2.</p>
  
  <pre><code>videoWidgetView.pauseVideo();
  videoWidgetView.seekTo(0);
  finishActivity(0);
  </code></pre>
  
  <p>3.</p>
  
  <pre><code>videoWidgetView.pauseVideo();
  videoWidgetView.seekTo(0);
  findViewById(R.id.ui_back_button).performClick();
  </code></pre>
  
  <p>4.</p>
  
  <pre><code>videoWidgetView.pauseVideo();
  videoWidgetView.seekTo(0);
  Field f;
  
  try {
  
       f =videoWidgetView.getClass().getSuperclass().getDeclaredField("vrUiLayer");
       f.setAccessible(true);
       UiLayer vrLayer = (UiLayer) f.get(videoWidgetView);
  
       vrLayer.getView().findViewById(R.id.ui_back_button).performClick();
  
  } 
  catch (NoSuchFieldException e) {
        e.printStackTrace();
  } 
  catch (IllegalAccessException e) {
     e.printStackTrace();
  }
  </code></pre>