title: splash screen is not showing on whole screen on mobile
body: <p>I am working on android project in which i am working on splash screen code but splash image is not showing on the whole screen of my mobile my code for activity  is :-</p>
  
  <pre><code>public class SplashPresenter extends MvpBasePresenter&lt;SplashView&gt; {
  
      @Override public void attachView(SplashView view) {
          super.attachView(view);
          new Handler().postDelayed(new Runnable() {
              @Override public void run() {
                  launch();
              }
          }, 2000);
      }
  
      @Override public void detachView(boolean retainInstance) {
          super.detachView(retainInstance);
      }
  
      private void launch() {
          String imei = ImeiUtil.getIMEI();
  
          List&lt;ActivationInfo&gt; infos = ActivationInfo.listAll(ActivationInfo.class);
          if (infos.size() == 1) {
              ActivationInfo info = infos.get(0);
  /*
              Log.d("I: ", "I: " + info.getBusinessName());
              Log.d("I: ", "I: " + info.getMobileNumber());
              Log.d("I: ", "I: " + info.getImei());
              Log.d("I: ", "I: " + imei);
              Log.d("I: ", "S: " + info.getStatus());
  */
              if (info.getStatus() == 1 &amp;&amp; info.getImei().equalsIgnoreCase(imei)) {
                  getView().start(HomeActivity.class);
              } else {
                 //getView().start(ActivationActivity.class);
              getView().start(HomeActivity.class);
              }
          } else {
             getView().start(HomeActivity.class);
          //  getView().start(RegisterActivity.class);
          }
      }
  </code></pre>
  
  <p>and xml code is, which i had shown is here </p>
  
  <pre><code>&lt;RelativeLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      tools:context=".MainActivity"&gt;
  
      &lt;ImageView
          android:contentDescription="@string/splash_image"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:adjustViewBounds="true"
          android:scaleType="centerCrop"
          android:src="@drawable/splash_english"/&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>