title: How to fix "Layout Encourages Accidental Clicks - Interstitial Ads" warning by admob in android?
body: <p>I've integrated Interstitial Ads in my app. Below are the transition, <br></p>
  
  <pre>
           - Screen 3 <br>
           - Screen 4 <br>
           - Screen 5 <br>
           - Screen 6 <br>
  Screen 2 - Screen 7 <br>
           - Screen 8 <br>
           - Screen 9 <br>
           - Screen 10 <br>
           - Screen 11 <br>
           - Screen 12 <br>
  </pre>
  
  <p>While the transition happens from Screen 2 to Screen n (Where n is 3-12), an interstitial ad is called. I hope this is allowed to do.</p>
  
  <p>Today, I have received a mail from Admob saying that Layout Encourages Accidental Clicks. How do I fix this? I'm not sure where I am going wrong.</p>
  
  <p>Below is the code of one of the activities.</p>
  
  <pre><code>public class CC extends AppCompatActivity implements ConnectivityReceiver.ConnectivityReceiverListener {
  ConnectivityReceiver conn;
  
  CheckingStatus checkingStatus;
  
  private static final String TAG = "CC";
  private AdView mAdView;
  
  InterstitialAd interstitial;
  
  private static final String AD_UNIT_ID = "ca-app-pub-4189677300abcdefgh.....";
  private InterstitialAd interstitialAd;
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
  
      checkingStatus=new CheckingStatus();
      conn=new ConnectivityReceiver();
      IntentFilter intentFilter=new IntentFilter();
      intentFilter.addAction(ConnectivityManager.CONNECTIVITY_ACTION);
      registerReceiver(conn, intentFilter);
      checkfunction(CC.this);
  
      setContentView(R.layout.cc);
      getSupportActionBar().setTitle("CC");
      getSupportActionBar().setDisplayHomeAsUpEnabled(true);
  
  //for banner ads
          mAdView = (AdView) findViewById(R.id.adView);
          AdRequest adRequest = new AdRequest.Builder().build();
          mAdView.loadAd(adRequest);
  
  
          findViewById(R.id.cc1).setOnClickListener(listener_ca);
          findViewById(R.id.cc2).setOnClickListener(listener_cb);
          findViewById(R.id.cc3).setOnClickListener(listener_ccc);
  
  
  //for interstitial ads
      interstitialAd = new InterstitialAd(this);
  
      interstitialAd.setAdUnitId(AD_UNIT_ID);
      AdRequest aDRequest = new AdRequest.Builder().build();
  
      interstitialAd.loadAd(aDRequest);
  
      interstitialAd.setAdListener(new AdListener() {
          @Override
          public void onAdLoaded() {
  
              if (interstitialAd.isLoaded()) {
                  interstitialAd.show();
              }
  
          }
  
          @Override
          public void onAdOpened() {
  
  
          }
  
          @Override
          public void onAdFailedToLoad(int errorCode) {
  
          }
      });
  
  
  };
  
  View.OnClickListener listener_ca = new View.OnClickListener() {
      @Override
      public void onClick(View view) {
          Intent intent = new Intent(CC.this, pt_ca.class);
          startActivity(intent);
      }
  };
  
  View.OnClickListener listener_cb = new View.OnClickListener() {
      @Override
      public void onClick(View view) {
          Intent intent = new Intent(CC.this, pt_cb.class);
          startActivity(intent);
      }
  };
  
  View.OnClickListener listener_ccc = new View.OnClickListener() {
      @Override
      public void onClick(View view) {
          Intent intent = new Intent(CC.this, pt_ccc.class);
          startActivity(intent);
      }
  };
  
  public void checkfunction(Context context){
      boolean isConnected=ConnectivityReceiver.isConnected();
      checkingStatus.notification(isConnected,context);
  
  }
  
  @Override
  protected void onResume() {
      super.onResume();
      MyApplication.getInstance().setConnectivityListener(this);
  }
  
  @Override
  public void onNetworkConnectionChanged(boolean isConnected) {
      checkfunction(this);
  }
  
  @Override
  public boolean onSupportNavigateUp(){
      finish();
      return true;
  }
  }
  </code></pre>
  
  <p><br></p>
  
  <p>What changes should I do to fix this issue?</p>