草庐IT

Converasation

全部标签

android - 如何一次从 string.xml 和普通字符串将文本设置为 TextView

R.string.Converasation包含Conversation这是代码tv.setText(R.string.Converasation+"HELLo");textviewView采用R.string.Converasation的int值和HELLo的字符串值,最终显示2131034187Hello但我想要ConverasationHello如何解决这个问题.. 最佳答案 尝试tv.setText(getString(R.string.Converasation)+"HELLo");马克。