It also supports u/u, but I don't think there's any way to set a
color only for specific words in the string without implementing your
own TextView. Either that or string together multiple textviews with
appropriate colors, but that probably isn't the best idea.
On Apr 4, 12:35 am, Evan JIANG
I believe it is possible to do this by using a Spannable and
BackgroundColorSpan. You can take a look at the documentation for
SpannableStringBuilder if you want more information.
On Fri, Apr 4, 2008 at 1:04 AM, Dan U. [EMAIL PROTECTED] wrote:
It also supports u/u, but I don't think there's
Thank you for your reply. Is there any examples to show how to use
SpannableString.
In the method like SpannableStringBuilder.setSpan(Object what, int
start, int end, int flags) , I've no idea what type of Object of the
parameter what is needed.
Best regards,
Evan JIANG
On Fri, Apr 4, 2008 at
3 matches
Mail list logo