Issue: change border color or box stroke for unfocused TextInputLayout in android

If you want to set the color for the outline box in unfocused mode instead of the default black, you have to add this line in colors.xml file which will override the default color for the outline box. copy this line as it is. you can change color to what you want. <color name=”mtrl_textinput_default_box_stroke_color”>#fff</color> until … Read more

Change EditText hint color when using TextInputLayout

Define android:textColorHint in your application theme: <style name=”AppTheme” parent=”Theme.AppCompat.NoActionBar”> <item name=”colorPrimary”>@color/primary</item> <item name=”colorPrimaryDark”>@color/primary_dark</item> <item name=”colorAccent”>@color/accent</item> <item name=”android:textColorHint”>@color/secondary_text</item> </style> Source Or, in your layout, like: <android.support.design.widget.TextInputLayout android:layout_width=”match_parent” android:layout_height=”wrap_content” android.support.design:hintTextAppearance=”@style/GreenTextInputLayout” android:textColorHint=”@color/secondary_text”>

tech