Hi,
I have a problem with including a view hierarchy into a
RelativeLayout: all layout parameters provided when including it are
ignored, or at least not recognized properly. More precisely: I want
to position the included hierarchy (root is a LinearLayout) below
another LinearLayout in the including file.
Like this:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout ...>
...
<LinearLayout android:id="@+id/search_linear_layout_1" ...>
...
</LinearLayout>
<include layout="@layout/location_bar"
...
android:layout_below="@id/search_linear_layout_1"
/>
...
</RelativeLayout>
That doesn't work. The included LinearLayout is NOT positioned below
the given view, but is simply attached to the top edge of the screen.
What am I missing?
Thanks,
Matthias
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---