title: Splash ImageView for my Android application
body: <p>I have create ImageView for my splash logo. 
  I put it to main.xml:</p>
  
  <pre><code>android:id="@+id/splashscreen"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:background="#000000"
  android:scaleType="fitCenter"
  android:src="@drawable/my_splash2
  </code></pre>
  
  <p>Create new class:</p>
  
  <pre><code>package com.example.gotquest;
  
  import android.app.Activity;
  import android.os.Bundle;
  import android.os.Handler;
  import android.os.Message;
  import android.view.View;
  import android.widget.ImageView;
  
  public class Splash extends Main{
  
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.splash);
  
          splash = (ImageView) findViewById(R.id.splashscreen); 
          Message msg = new Message();
          msg.what = STOPSPLASH;
          splashHandler.sendMessageDelayed(msg, SPLASHTIME);
      }
  
      private static final int STOPSPLASH = 0;
      private static final long SPLASHTIME = 3000; 
      private ImageView splash;
  
      private Handler splashHandler = new Handler() { 
               public void handleMessage(Message msg) {
                   switch (msg.what) {
                   case STOPSPLASH:
  
                       splash.setVisibility(View.GONE);
  
                       break;
                   }
                   super.handleMessage(msg);
               }
            };
  }
  </code></pre>
  
  <p>and added to manifest file this string for loading my splash first:</p>
  
  <pre><code>android:name=".Splash"
  </code></pre>
  
  <p>When splash ends, I can see my layout, but buttons and other don't work. I think, splash ImageView becomes invisible, but covers another items.
  How can I fix it?</p>