tags:

views:

36

answers:

1

Hi Friends,

I want to display image in textview,is it possible?anybody knows,please give sample code for me.. Thanks All

A: 

tv.setCompoundDrawablesWithIntrinsicBounds(left, top, right, bottom);

Sameer Segal
@Thanks,How can i add image this method?please give example code..
sivaraj
left/top/right/bottom = image drawables. Else you can supply the ResId (there is an overloaded function that accepts int)
Sameer Segal