title: Parent View to show SnackBar for a Layout with Data Binding
body: <p>This is my activity layout that uses Data Binding:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layout&gt;
      &lt;data&gt;
          &lt;variable
              name="myData"
              type="MyData" /&gt;
      &lt;/data&gt;
      &lt;ScrollView&gt;
         &lt;LinearLayout&gt;
           -- More contents
         &lt;/LinearLayout&gt;
      &lt;/ScrollView&gt;
   &lt;/layout&gt;
  </code></pre>
  
  <p>I want to show a SnackBar on this Activity. But I have tried using the ID of LinearLayout, ScrollView &amp; the root layout. But the SnackBar never shows up. Has anyone attempted to show SnackBar on activities that uses data binding?</p>