Code example for RelativeLayout

Methods: removeAllViews

0
    } 
 
    @Override 
    protected void onDestroy() { 
        broadcastInterstitialAction(ACTION_INTERSTITIAL_DISMISS);
        mLayout.removeAllViews();
        super.onDestroy(); 
    } 
 
    public abstract View getAdView();
 
    protected void showInterstitialCloseButton() { 
        mCloseButton.setVisibility(VISIBLE);
    } 
 
    protected void hideInterstitialCloseButton() { 
        mCloseButton.setVisibility(INVISIBLE);
    } 
 
    protected void broadcastInterstitialAction(String action) {
        Intent intent = new Intent(action);