Android TextView and getting line of text
If I understand correctly the answer to question 2 is:
textView.getLineBounds (int line, Rect bounds)
The width in pixels should be abs(bounds.right - bounds.left)
; and the height is abs(bounds.bottom - bounds.top)
Your first question is a bit more tricky, but something like this should do the required magic:
Layout layout = textView.getLayout();
String text = textView.getText().toString();
int start=0;
int end;
for (int i=0; i<textView.getLineCount(); i++) {
end = layout.getLineEnd(i);
line[i] = text.substring(start,end);
start = end;
}