Tuesday, 15 February 2011

java - Android EditText does not show all text -



java - Android EditText does not show all text -

i have code retrieves html source code of page. can retrieve , display total source code on textview without problem. then, want pass content of textview edittext in order enable editing code. when pass source code edittext, edittext not show of code. code broken random locations. shows part of code. totally tilted.

some details: textview in activity , edittext in activity, passing textview content edittext intents.

do have idea?

thanks in advance.

br, ali

try this:

edittext text = new edittext(this); text.settext(html.fromhtml(html)); text.setmovementmethod(linkmovementmethod.getinstance());

java android html android-edittext textview

No comments:

Post a Comment