I'd say if you know the text you want to put into the TextView, you
should be able to measure the text and compare to the size of the
TextView... In the API Demos, there is a measure text sample. I'd
start there.

On Apr 9, 3:11 pm, "[email protected]" <[email protected]>
wrote:
> I am trying to place only the exact amount of data into a TextView but
> I need to know how much it can hold.  Is there a way to do this based
> on it's height, width and the textsize?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to