Has anyone figured out a way to change the tooltip text (the text displayed when the field is empty) at run time, and not in the layout? The layout is as follows:
<android.support.design.widget.TextInputLayout
style="@style/CreateAccount.Zip.Label">
<android.support.v7.widget.AppCompatEditText
android:id="@+id/Zip"
style="@style/CreateAccount.Zip" />
</android.support.design.widget.TextInputLayout>
The problem is that the animation of the Material Design field label breaks if I set it at runtime :-( It just stays static if I set it at runtime ... no movement whatsoever when entering text.
source
share