I'm not sure I follow. Below is some sample code:

view.setAdapter(new ArrayAdapter<String>(this,
R.layout.custom_listview, R.id.label, this.titleList));

where titleList right now is an ArrayList of strings.

Are you suggesting to make a second adapter and use that textview in
that?


On Jun 24, 3:55 pm, Marco Nelissen <marc...@android.com> wrote:
> Just map that textview to a different column in your result set.
>
> On Wed, Jun 24, 2009 at 12:52 PM, Rick <rmanc...@mit.edu> wrote:
>
> > I am also looking to do something with an image on the left and two
> > textviews arranged as below:
>
> > +------------------------------------
> > | +-------+     TextView1
> > | | Image |
> > | +-------+     TextView2
> > +------------------------------------
>
> > It appears possible to use one textview, but TextView2 needs to have
> > smaller font size compared to TextView1. I am able to create it so
> > that there is the image and one textview, but how could I change the
> > data for the second textview?
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to