Getting those dots on a ‘over-sized’ Android string

Reading Time: 1 minutes

AndroidEver wondered how to setup a Textview so that the text shows dots (ie: “this text is too lo…”) when the text is longer then the Textview wide?

Just use the android:ellipsize property and set singeline to true, like this:

Easy-peasy, right?