Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

edittext hint color

<android.support.design.widget.TextInputLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/dp_10"
                android:textColorHint="@color/color_black" -this line-
                app:hintTextAppearance="@style/TextLabel">

                <EditText
                    android:id="@+id/et_state"
                    style="@style/profile_editTextStyle"

                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:hint="@string/billingState"
                    android:text="@string/billingState"
                     />
            </android.support.design.widget.TextInputLayout>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #edittext #hint #color
ADD COMMENT
Topic
Name
3+7 =