Tao wrote:
Hi all,
I just have a question which may be very simple to some of you.
How can I make a TextView cut off long strings automatically?
I noticed that Activity title can do that: from abcdefgh to abc...
Use android:ellipsize
gotcha, thx :)
On Jun 5, 1:27 pm, Mark Murphy mmur...@commonsware.com wrote:
Tao wrote:
Hi all,
I just have a question which may be very simple to some of you.
How can I make a TextView cut off long strings automatically?
I noticed that Activity title can do that: from abcdefgh to
Hi Mark,
It looks like we need to set a deprecated property on cupcake to make
android:ellipsize work properly.
android:Single line (Deprecated) = true (--- without this, the
ellipsis will not show up)
android:ellipsize = end
I tried setMaxLines(1) without setting Single line property, it
Tao wrote:
Hi Mark,
It looks like we need to set a deprecated property on cupcake to make
android:ellipsize work properly.
android:Single line (Deprecated) = true (--- without this, the
ellipsis will not show up)
android:ellipsize = end
I tried setMaxLines(1) without setting Single
4 matches
Mail list logo