ich dies unter XML-Code verwenden:Wie nach dem Fokus verloren Hinweis Farbe für TextInputLayout einstellen
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/TextLabel">
<android.support.v7.widget.AppCompatEditText
android:id="@+id/edtAddress1Current"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/border_button"
android:hint="My Hint"
android:singleLine="true"
android:textColor="@color/blue"
/>
</android.support.design.widget.TextInputLayout>
Szenario:
Schritt 1: Edittext1 ist blank- Hinttextcolor = Schwarz.
Schritt 2: Edittext1 Wert eingegeben Hinttext = Orange.
Schritt 3: Lostfocus von Edittext1 zu Edittext2, Edittext1 hinttext = Orange. Benutzte AppcompactEdittext und TextInputLayout.
Bitte helfen Sie mir.
post your style '@ style/TextLabel' – Bharatesh