title: Two way binding is not setting title to Toolbar
body: <p>I am not able to set title to toolbar using data-binding in Android. Here is my implementation:</p>
  
  <p>Layout:</p>
  
  <pre><code>&lt;com.google.android.material.appbar.AppBarLayout
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"&gt;
  
                  &lt;androidx.appcompat.widget.Toolbar
                      android:id="@+id/toolbar"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:minHeight="?attr/actionBarSize"
                      android:theme="@style/Toolbar" /&gt;
              &lt;/com.google.android.material.appbar.AppBarLayout&gt;
  </code></pre>
  
  <p>Code for setting toolbar:</p>
  
  <pre><code>private void setUpToolbar() {
          setSupportActionBar(activityCupBinding.toolbar);
          if (getSupportActionBar()!= null) {
              activityCupBinding.toolbar.setTitle(getString(R.string.addCup));
          }
      }
  </code></pre>
  
  <p>When I debug above code it tells me <strong>activityCupBinding.toolbar.setTitle(getString(R.string.addCup))</strong>
  as undefined.</p>
  
  <p>Here is style used for toolbar</p>
  
  <pre><code>&lt;style name="Toolbar" parent="ThemeOverlay.MaterialComponents.Dark.ActionBar"&gt;
          &lt;item name="android:textSize"&gt;16sp&lt;/item&gt;
          &lt;item name="android:fontFamily"&gt;@font/merriweather&lt;/item&gt;
          &lt;item name="android:textAppearance"&gt;?attr/textAppearanceHeadline6&lt;/item&gt;
      &lt;/style&gt;
  </code></pre>