Try Html.fromHtml("Here is an <img src=\\"http://www.foo.com/something.png\\">") and using that SpannedString result in your TextView. I might have the Java quoting rules messed up here, as I'm typing that from memory.
On Wed, Apr 20, 2011 at 2:04 PM, pennstate24 <eddiepwnsn0...@gmail.com> wrote: > I'm trying to get a Drawable image to show up in a String or > CharSequence and all I'm getting is the integer number of the image. > Can anyone please help me out with this? > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 3.0 Programming Books: http://commonsware.com/books -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en