title: How to make bold text with Android Data Binding Library
body: <p>Pretty basic, I want to make a title of a message bold based on whether the text it is read or not. I can't seem to find a solution for this.</p>
  
  <p>Here is my XML code:</p>
  
  <pre><code>            &lt;TextView
                  android:text="@{message.title}"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_alignParentLeft="true"
                  android:layout_alignParentStart="true"
                  android:layout_alignParentTop="true"
                  android:layout_marginBottom="5dp"
                  android:layout_marginTop="5dp"
                  android:layout_toLeftOf="@+id/timestamp"
                  android:textSize="18sp"
                  android:textStyle='@{message.isRead() ? "bold" : "normal"}'
                  android:textColor='@{message.isRead() ? 0xff313131 : 0xff0662ab}' /&gt;
  </code></pre>
  
  <p>Th colorchange is working great, only the bold text is giving me some problems.</p>
  
  <p>Error:Execution failed for task ':app:compileDebugJavaWithJavac'.</p>
  
  <blockquote>
    <p>java.lang.RuntimeException: Found data binding errors.
    ****/ data binding error ****msg:Cannot find the setter for attribute 'android:textStyle' with parameter type java.lang.String on android.widget.TextView.
    file:D:......xml
    loc:39:41 - 39:79
    ****\ data binding error ****</p>
  </blockquote>