Assume I have a block of text that is too long to fit into a standard TextView. When I put that text into the TextView via the setText() method, it gets truncated.
Is there any way that I can then query this TextView or some other component in order to find out the subset of the text which is actually being displayed? I know that I can calculate this by considering the screen dimensions, the font metrics, the border spacing, the screen orientation, the TextView dimensions, etc., etc. ... However, is there a way to simply query some object in order get this information directly? After all, the inverse set of calculations has to be performed in order to decide what text to actually draw in the TextView, so theoretically at least, there should be a straightforward way to retrieve the text that is actually being displayed. Thanks in advance for any suggestions or pointers to documentation. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en