Android TextInput hint text color
<p>I have this <code>TextInputLayout</code> and <code>EditText</code> and my text hint is black color and I want to change it.</p>

<p>By the way when the hint is going on top its color is white</p>

<pre><code> &lt;android.support.design.widget.TextInputLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                app:hintTextAppearance="@style/TextAppearance.App.TextInputLayout"&gt;

            &lt;EditText
                android:id="@+id/password"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:hint="@string/prompt_password"
                android:imeActionId="@+id/login"
                android:imeActionLabel="@string/action_sign_in_short"
                android:imeOptions="actionUnspecified"
                android:inputType="textPassword"
                android:maxLines="1"
                android:singleLine="true"
                android:textColor="@android:color/white"
                android:textColorHint="@android:color/white" /&gt;

        &lt;/android.support.design.widget.TextInputLayout&gt;
</code></pre>

<p>Styles</p>

<pre><code>&lt;style name="TextAppearance.App.TextInputLayout" parent="@android:style/TextAppearance"&gt;
    &lt;item name="android:textColor"&gt;@android:color/white&lt;/item&gt;
    &lt;item name="android:textColorHint"&gt;@android:color/white&lt;/item&gt;
    &lt;item name="colorPrimary"&gt;@android:color/white&lt;/item&gt;
    &lt;item name="colorAccent"&gt;@android:color/white&lt;/item&gt;
&lt;/style&gt;
</code></pre>

<p><a href="https://i.stack.imgur.com/EG1nu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EG1nu.png" alt="enter image description here"></a></p>