Alfa wrote:
> than how to get the line count of textview. i already use
> TextView.getLayout() .getLineCount() but i have error.

you have to call it after internal layout has been built - you can for
example post runnable after calling setText() - doing so you make sure
the internal layout is built

pskink

-- 
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