中村さん、

TextView's setText method is declared to take a CharSequence, rather
than simply a String. This (and many other places) do so, to allow you
to use other types besides String.

Specifically, SpannableString, which is like a String, but allows you
to attach additional information, such as styles or URLs, to specific
ranges of characters.

For example, see src/com/example/android/apis/text/Link.java in the
ApiDemo sample.

On Feb 18, 5:10 pm, 中村修太 <[email protected]> wrote:
> Hi,all.
>
> I want to set Bold-style or TextColor one by one in TextView.
> Can I do it?
>
> I thought use InputFilter, but the Class could not set style.(may be..)
>
> Please teach if it is good idea.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to