Sunday, 15 August 2010

java - Unable to format setText() appropriately -



java - Unable to format setText() appropriately -

i'm trying set text of textview "(+teamname) score:"

what have: textview1.settext(+teamname "score:"); contains error because standard format supposed ("" + teamname)

how create display textview quotes? possible?

(note: teamname points string)

it's possible. utilize + it's needed, between string variable (teamname) , "score: "

textview1.settext(teamname + " score:");

java android textview settext

No comments:

Post a Comment