title: How to show Snackbar when Activity starts?
body: <p>I want to show android <code>Snackbar</code> <code>(android.support.design.widget.Snackbar)</code> when the activity starts just like we show a <code>Toast</code>. </p>
  
  <p>But the problem is we have to specify the parent layout when creating <code>Snackbar</code> like this:</p>
  
  <pre><code>Snackbar.make(parentlayout, "This is main activity", Snackbar.LENGTH_LONG)
              .setAction("CLOSE", new View.OnClickListener() {
                  @Override
                  public void onClick(View view) {
  
                  }
              })
              .setActionTextColor(getResources().getColor(android.R.color.holo_red_light ))
              .show();
  </code></pre>
  
  <p>How to give parent layout when we show <code>Snackbar</code> at the start of the activity without any click events (If it was a click event we could've easily pass the parent view)?</p>