I have an Android TextView where the view itself is limited to four lines. If the text exceeds this limit I want the end of the view to end with something like .. <– to notify that there is more text here so you can click and open in fullscreen for example. Not just suddenly stop in the middle of a sentence. Is there a quick fix for this?
Share
Use the
android:ellipsize="end"attribute in your layout XML file. It may still stop in the middle of a sentence, but it will have an ellipsis (…) at the end.