Skip to content

Instantly share code, notes, and snippets.

@rakshakhegde
Last active May 19, 2018 11:03
Show Gist options
  • Save rakshakhegde/049e3b8f421287deab5d0643838aed93 to your computer and use it in GitHub Desktop.
Save rakshakhegde/049e3b8f421287deab5d0643838aed93 to your computer and use it in GitHub Desktop.
Setting hint color of `TextInputLayout`
<android.support.design.widget.TextInputLayout
android:theme="@style/PickupEditTextHint"
>
<android.support.design.widget.TextInputEditText />
</android.support.design.widget.TextInputLayout>
<style name="PickupEditTextHint" parent="Widget.Design.TextInputLayout">
<item name="android:textColorHint">@color/pickup_blue</item>
<item name="colorControlNormal">@color/pickup_blue</item>
<item name="colorAccent">@color/pickup_blue</item>
<item name="colorControlActivated">@color/pickup_blue</item>
<item name="colorControlHighlight">@color/pickup_blue</item>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment