Let's say I have a list of included layouts and I want to access the
widgets in the included layouts...how do I do that?

ParentLayout
------------------------------
<merge xmlns:android="http://schemas.android.com/apk/res/android";>
        <LinearLayout
        android:id="@+id/LinearLayout01"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="vertical">

                <include android:id="@+id/include02"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                layout="@layout/textcombolayout"></include>

                <include android:id="@+id/include03"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                layout="@layout/textcombolayout"></include>

                <include android:id="@+id/include04"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                layout="@layout/textcombolayout"></include>
</LinearLayout>
</merge>

SubLayout
----------------------
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/
android"
        android:orientation="horizontal"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:padding="6dip">

                <TextView android:text="TextView01"
                android:id="@+id/TextView01"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true" />

                <Spinner android:id="@+id/Spinner01"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentRight="true" />

        </RelativeLayout>


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to