Comment déterminer le nombre de lignes visibles dans TextView?

comment obtenir le nombre de lignes affichées dans la partie visible de TextView? J'ai utiliser du texte, qui n'est pas pleinement mis en TextView sur chaque résolution d'écran.

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >

<TextView
    android:id="@+id/logs_text"
    android:layout_width="match_parent"
    android:layout_height="match_parent" />

</LinearLayout>

String s = "very big text"
TextView logText = (TextView) view.findViewById(R.id.logs_text);
logText.setText(s);     

source d'informationauteur umni4ek