<TextView android:id="@+id/to_learn_itme_name" android:text="List with rich media" android:maxLines="2" android:ellipsize="end" android:layout_width="wrap_content" android:layout_height="wrap_content" />
android:maxLines=”3” limit the maximum number of lines
android:ellipsize=”end” ellipsis at the end
android:lines=”2” display two lines, if the content can be displayed in one line, the TextView will still occupy two lines height space