I am trying to write questions and answers in android studio in the most basic of ways. My plan is to have the answer in white (the color of the background currently)...then when the answer button is hit it'll change the entire thing to black. So how do you have the that Answer span a different color to start?
Button button = (Button) findViewById(R.id.questionButton);
button.setOnClickListener(
new Button.OnClickListener() {
public void onClick(View v) {
final String[] Text = {
"Q: Who is the first president of the United States? <COLOR SOMETHING TO MAKE THIS WHITE TEXT-> >A: George Washington</COLOR>"
};