I have a RelativeLayout as my content view. If I place this inside of
it:

<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
              android:id="@+id/root"
              android:orientation="vertical"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
              android:padding="10dp"
              android:background="#DAAA"
              >
</LinearLayout>

It fills the parent as expected. If I use a layout inflater and
addView to put it in the same place, it will always just wrap_content.
I've tried calling requestLayout on the parent and child to no effect.
Does anyone have any ideas?

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