[FIXED] There is always a default background on TextInputLayout in Android

Issue I have TextInputLayout and TextInputEditText like this <com.google.android.material.textfield.TextInputLayout android:id=”@+id/loginUsernameText” android:layout_width=”match_parent” android:layout_height=”wrap_content” android:layout_marginLeft=”@dimen/text_input_margin_left_right” android:layout_marginRight=”@dimen/text_input_margin_left_right” android:layout_marginTop=”@dimen/text_input_margin_top_bottom” android:hint=”@string/username” android:layout_below=”@id/loginButtonLogin”> <com.google.android.material.textfield.TextInputEditText android:id=”@+id/loginUsername” android:layout_width=”match_parent”

Read more