title: How to use data binding when moving the id into the styles file?
body: <p>I have created a style like this:</p>
  
  <pre><code>&lt;style name="MyFavoriteViewStyle"&gt;
      &lt;item name="android:layout_width"&gt;match_parent&lt;/item&gt;
      &lt;item name="android:layout_height"&gt;30dp&lt;/item&gt;
      &lt;item name="android:id"&gt;@id/my_favorite_view&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>As you can see, I have moved the id from the layout file in the Styles.XML file. Doing that, In my activity I get an error:</p>
  
  <pre><code>View myFavoriteView = dataBinding.myFavoriteView;
  </code></pre>
  
  <p>Such as <code>myFavoriteView</code> is no more recognized. How can I still find that view even if the id is defined in Styles.XML?</p>