@Override void onCreate() { super.onCreate(); mButtonSize = Dips.asIntPixels(CLOSE_BUTTON_SIZE, getContext()); mButtonPadding = Dips.asIntPixels(CLOSE_BUTTON_PADDING, getContext()); createInterstitialCloseButton(); mCloseButton.setVisibility(GONE); mVideoView.start(); }
@Override protected void onCreate() { super.onCreate(); getBaseVideoViewControllerListener().onSetRequestedOrientation(SCREEN_ORIENTATION_LANDSCAPE); downloadCompanionAd(); makeTrackingHttpRequest( mVastVideoConfiguration.getImpressionTrackers(), getContext(), BaseEvent.Name.IMPRESSION_REQUEST); broadcastAction(ACTION_INTERSTITIAL_SHOW); }