No it's not. On Fri, Aug 28, 2009 at 3:52 PM, sdphil<phil.pellouch...@gmail.com> wrote: > > i have some layout xml that looks like this: > > == file1.xml == > <?xml version="1.0" encoding="utf-8"?> > <LinearLayout ...> > ... > ... > </LinearLayout> > > I want to include that in some other layout xml, so I do this -- > > == file2.xml == > <include layout="@layout/file1.xml"/> > > The question I have is how to pass arguments (and refer to them) from > file2.xml to file1.xml. > > So, for example: > > == file1.xml == > <?xml version="1.0" encoding="utf-8"?> > <LinearLayout ...> > <TextView android:text="@text" android:layout_width="fill_parent" > android:layout_height="fill_parent"/> > ... > </LinearLayout> > > == file2.xml == > <include layout="@layout/file1.xml" text="abc"/> > > is this possible? > > tia. > > >
-- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---