Wednesday 11 September 2013

Android: get the number of lines occupied by the textview dynamically.


@Override
public void run() {
    // TODO Auto-generated method stub
    while(textView.getLineCount() == 0){

    }
    countLine = textView.getLineCount(); 

}

No comments:

Post a Comment