You could TRY your red highlighted text
On Apr 19, 12:43 pm, sebastian23 wrote:
> the problem is that your solution is only for the font color, but i want to
> set the font background :(
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developer
You can try the html way to styling
This used to work for me.
string =" hello "
textview.setText(Html.fromHtml(string))
On Sun, Apr 18, 2010 at 1:17 AM, patbenatar wrote:
> Sorry, bolding and italicizing is the extent of my text formatting
> knowledge with Android.
>
> Anyone else know more
Sorry, bolding and italicizing is the extent of my text formatting
knowledge with Android.
Anyone else know more about this?
On Apr 17, 5:33 am, Sebastian Müller wrote:
> Thanks a lot for your answer. This works great for the Bold thing, but
> background isnt changing...do you know why??
>
Here is the more difficult, lower-level way to do this (probably also
has more functionality):
http://developer.android.com/reference/android/text/Spannable.html
Here is the much easier way to do this:
http://developer.android.com/reference/android/text/Html.html
... This one is REALLY nice. You
4 matches
Mail list logo