title: Splash screen in Android Application
body: <p>I am modifying an open source application and want to add a splash screen to it,
  Can some one help me in it?</p>
  
  <p>When the application starts a black screen appears for 2 to 3 seconds and then the application appears....
  In the code the activity main.xml is started, I have read some forums that the splash.xml file should be created and with the help of threads splash activity and main activity should be executed parallel. Is it the right approach...?</p>
  
  #
  
  <pre><code>public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          instance = this;
          setContentView(R.layout.main);
  </code></pre>
  
  #
  
  <p>Would it not be possible that I modify main.xml and put the image (splash) in main.xml so that it appears from there?</p>