title: Set height of Snackbar in Android
body: <p>I have a Snackbar in need to set its height or set height to wrap content. Is there any way?</p>
  
  <pre><code>Snackbar snack = Snackbar.make(findViewById(R.id.activity_container), "Message", Snackbar.LENGTH_SHORT);
  
  View view = snack.getView();
  TextView tv = (TextView) view.findViewById(android.support.design.R.id.snackbar_text);
  view.setBackgroundColor(Color.RED);
  tv.setTextColor(Color.WHITE);
  tv.setTextAlignment(View.TEXT_ALIGNMENT_CENTER);
  tv.setGravity(Gravity.CENTER_HORIZONTAL);
  </code></pre>