disabling editText but with a different color
<EditText
android:id="@+id/myEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:enabled="false" >
</EditText>
I have the above edit text which is disabled. I only take values from
somewhere else and insert it there, the user can not type inside of it.
However, the color of the edit text when in disabled form is too gray and
not visible to the user sometimes. I prefer it to appear black. Is there
any basic functionality I am not aware than can change the color of edit
text when in disabled mode ? Any other work around works fine too.
No comments:
Post a Comment