if I have set text in textview in such way, which is not problem:
tv.setText(\"\" + ANS[i]);
this simply getting from this way.
Try Like this.
tv1.setText(" " + Integer.toString(X[i]) + "\n" + "+" + " " + Integer.toString(Y[i]));