image in a textview

All your problems with Audio, Video and Images.

image in a textview

Postby rahulp » Wed Apr 15, 2009 6:25 am

hi is it possible to add a an image to a textview OR editview?
i am trying to build a chat application . and want to add smiley as images..
plz help me



thanks
rahul phadnis
rahulp
Developer
Developer
 
Posts: 30
Joined: Thu Feb 19, 2009 12:52 pm

Top

smileys

Postby rahulp » Wed Apr 15, 2009 6:34 am

is it possible to send smiley in an sms??
rahul phadnis
rahulp
Developer
Developer
 
Posts: 30
Joined: Thu Feb 19, 2009 12:52 pm

Use LinearLayout

Postby satishkumar_lskin » Wed May 13, 2009 11:15 am

Hi,
For ur requirement , u should use a Horizontal LinearLayout containing a TextView and an ImageView.
As the name "TextView" itself suggests , it is intended to act as labels. ( non-editable )

Regards,
Satish
satishkumar_lskin
Developer
Developer
 
Posts: 32
Joined: Mon Oct 20, 2008 8:15 am
Location: Coimbatore , TamilNadu, India

Postby SlumberMachine » Wed May 20, 2009 10:02 am

Yes you can add images to a textview. It may take some work to get it to display correctly for a chat application though.

dev guide TextView drawables
SlumberMachine
Developer
Developer
 
Posts: 39
Joined: Tue Feb 24, 2009 9:00 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 8 guests