i want to know how many line in my text view. i already set mytextview text, then i want to get how many line it take in mytextview.
i use mytextview.getLineCount()
thanks for all. i solved it already. i use thread to get the linecount just like this
@Override public void run() { // TODO Auto-generated method stub while(textView.getLineCount() == 0){ } countLine = textView.getLineCount(); }
hope this will help if you have same problem. best regard.