Re: [android-developers] Changing a CharacterStyle
On Thu, Oct 18, 2012 at 5:35 AM, Jan Burse <janburse@fastmail.fm> wrote:
> How can I change the color?
Use getSpans(), find all occurrences of your span, remove the old
span, and replace it with a span with the new color.
It's possible that there is a more efficient alternative than this,
but I am not aware of one.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 4.2 Available!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home