I have a text view .I set text color to it in XML. Now I want to change the text color in run time .How can I do this?
If you want to change text color dynamically then use setTextColor() method.
TextView myTextView=(TextView) findViewById(R.id.myTextView); myTextView.setTextColor(Color.parseColor("#bdbdbd"));
Username
Password
Remember Me
Lost your password?
Username or E-mail:
Log in