The hint wont float if u set it using data binding
<android.support.design.widget.TextInputLayout
android:id="@+id/inputLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="bottom"
android:theme="@style/TextAppearance.TextInputLayout.Form"
>
<EditText
android:id="@+id/usernameEditTxt"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/default_margin_3"
android:textSize="16sp"
android:singleLine="true"
android:hint="@{model.label}"
android:inputType="none"
/>
</android.support.design.widget.TextInputLayout>
But if u set the hint manually, it works. Im using Android Studio 3.0 Also using kapt "com.android.databinding:compiler:2.3.3"
Anyone solved this one?