title: Splash screen / animation between fragments
body: <p>I tried to realize <strong>splash screen animation like in News Digest application</strong>. Luckily I found nice example in GitHub  Click <a href="https://github.com/ykabaran/NewsDigestSplash" rel="nofollow">here</a> but in this example as you can see when circles to merge together and disappear opened <code>ContentView</code> which is a picture.</p>
  
  <p>They used these lines.</p>
  
  <pre><code>Context context = getApplicationContext();
  // now that our data is loaded we can initialize the content view
  mContentView = new ContentView(context);
  // add the content view to the background
  mMainView.addView(mContentView, 0);
  </code></pre>
  
  <p>I have my MainActivity layout view. <strong>How to show main layout view instead of these picture?!</strong> I want to see main_layout view after circles to merge together and disappear. I used these code below but it didn`t help me. You will see few seconds black screen and only after that Main Layout. But its not what i want. Can anyone help me to solve this problem?! What i need to change?!</p>
  
  <pre><code>// Start your app main activity
  startActivity(new Intent(SplashScreen.this, MainActivity.class));
  // close splashScreen activity
  finish();
  </code></pre>
  
  <p><strong>Picture is here</strong> Click <a href="https://camo.githubusercontent.com/e766cb8edd99c19c6e357bb0a439c327a12bb037/687474703a2f2f692e696d67626f782e636f6d2f32756a69544579682e676966" rel="nofollow">here</a></p>