I'm trying to add "Read more" to a the end of a textView if the text is more than two lines long, but I'm having a hard time doing so. My TextView looks like the following:
<TextView
android:id="@+id/reviewText"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="0.5"
android:layout_marginLeft="1dp"
android:text=""
android:maxLines="2"
android:ems="3"
android:ellipsize="end"
android:textColor="#FFFFFF" />
So to clarify, right now I get three dots because of the ellipsize but I really want it to write "Read more".
Incidentally, my software is supporting API level 14+.