Search code examples
javaellipsis

How should I write three dots?


Simple question: I want to set a TextView and in that I want to have three dots (Ellipsis). Like

Read more... <-- Now I'm sure I shouldn't just write ... into the String. How should I write these three dots?


Solution

  • Write "\u2026" in your String literal. See http://www.fileformat.info/info/unicode/char/2026/index.htm