Hallo ich benutze TextInputLayout in meiner App. Ich möchte die Farbe von Hinweistexten und schwebenden Etiketten (sowohl fokussiert als auch unfokussiert) auf Weiß setzen. Ich habe unten Code versucht.Wie ändere ich die Textfarbe des Textinputlayouts
<android.support.design.widget.TextInputLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:theme="@style/TextLabel">
<android.support.v7.widget.AppCompatEditText
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="Hiiiii"
android:id="@+id/edit_id">
</android.support.v7.widget.AppCompatEditText>
</android.support.design.widget.TextInputLayout>
<style name="TextLabel" parent="TextAppearance.AppCompat">
//hint color And Label Color in False State
<item name="android:textColorHint">@color/Color Name</item>
<item name="android:textSize">20sp</item>
//Label color in True State And Bar Color False And True State
<item name="colorAccent">@color/Color Name</item>
<item name="colorControlNormal">@color/Color Name</item>
<item name="colorControlActivated">@color/Color Name</item>
</style>
Es funktioniert einwandfrei für Lutscher, aber nicht für niedrigere versions.How kann ich auch gleich in niedrigeren Versionen erreichen?