This is what I'm trying to achieve: Have a list and in each list item have
multiples elements.

Have a list that

file_row.xml is working if I do this:
    <TextView android:id="@+id/text2" xmlns:android="
http://schemas.android.com/apk/res/android";
        android:textAppearance="?android:attr/textAppearanceSmall"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:text="TCaptionsmall"/>

I want it to be
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android";
    android:layout_width="wrap_content"
    android:layout_height="wrap_content">
    <TextView android:id="@+id/text1"
        android:textAppearance="?android:attr/textAppearanceLarge"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:layout_marginTop="8dip"
        android:layout_marginBottom="8dip"
        android:text="TCaption biig"/>
    <TextView android:id="@+id/text2"
        android:textAppearance="?android:attr/textAppearanceSmall"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:text="TCaptionsmall"/>
</LinearLayout>



On Fri, Jan 9, 2009 at 7:29 AM, Faber Fedor <[email protected]> wrote:

>
>
> On Wed, Jan 7, 2009 at 7:37 PM, Ivan <[email protected]> wrote:
>
>>
>>
>> If in file_row.xml I only put a TextView it works but how can I do to
>> add extra stuff to the list item?
>
>
> If I understand you, you would just add more items to the items()
> ArrayList.
>
>
>
> --
>
> Faber Fedor
> Cloud Computing New Jersey
> http://cloudcomputingnj.com
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to