how to get text from textview

前端 未结 5 1101
有刺的猬
有刺的猬 2020-12-01 13:40

if I have set text in textview in such way, which is not problem:

  tv.setText(\"\" + ANS[i]);

this simply getting from this way.



        
5条回答
  •  心在旅途
    2020-12-01 14:33

    Try Like this.

    tv1.setText("  " + Integer.toString(X[i]) + "\n" + "+" + " " + Integer.toString(Y[i]));
    

提交回复
热议问题