Jiri wrote:
> I thought that it would be easier to style the first text field
> tfield 1 => "John says:"
> tfield 2 => "this is what he says"
>
> but come to think of it, one field would indeed be easier and probably
> sufficient.
>
> Jiri
>
> skink wrote:
> >
> >
> > On Aug 17, 9:18 pm, Jiri <[email protected]> wrote:
> >> I am quit new to Android, but as far as I know you could make a custom
> >> view. Take a linearLayout and add two textfields.
> >> Something like this.
> >> LinearLayout where orientation is horizontal.
> >> |----------------------|
> >> | TextView | TextView |
> >> |______________________|
> >>
> >> Create a custom adapater that extends BaseAdapter and override the
> >> getView method where this method then returns your custom view and
> >> populates the fields.
> >> Set this adapter to be your ListView adapter in the activity.
> >
> > ListView sounds ok here but why custom view with two TextViews? you
> > can use simple TextView as your ListView rows
> >
> > pskink
> > >
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---