开发者

Fit text in TextView

I have a bulk of text in a string array which has to be placed in a TextView so that there should not be any scroll bar and the text has to fit exactly in the screen. I wa开发者_如何学编程nt to keep adding the text to textview until the screen gets filled and the remaining text has to be displayed in the next page and so on.

I thought of doing that by finding the height of the textview when it is updated but it was helpless!!

Though I have searched many websites I could not find a solution for that !!

Is it possible to acheive such criteria ?

Forgive if there are any errors in the above !!

Thanks,

Siva Kumar


From anticafe (comment) Auto Scale TextView Text to Fit within Bounds

Great subclass of textview providing resizing functions.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜