Android EditText Change Hint Color Code Example


Example: 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>

Comments

Popular posts from this blog

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Can Feynman Diagrams Be Used To Represent Any Perturbation Theory?