You must use the data binding syntax. It should be:
<TextView
android:text="@string/hello_world"
android:layout_width="wrap_content"
app:fontName="@{"Roboto-Regular.ttf"}"
android:layout_height="wrap_content"/>
You must use the data binding syntax. It should be:
<TextView
android:text="@string/hello_world"
android:layout_width="wrap_content"
app:fontName="@{"Roboto-Regular.ttf"}"
android:layout_height="wrap_content"/>