I see

Sent from my BlackBerry® smartphone provided by Airtel Nigeria.

-----Original Message-----
From: skink <[email protected]>
Sender: [email protected]
Date: Fri, 13 Jul 2012 02:13:52 
To: Android Developers<[email protected]>
Reply-To: [email protected]
Subject: [android-developers] Re: Hwo to use getLineCount method in TextView?
 what is the internal Layout?



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

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