FrameLayout
has all it's children views overlaid on the same area. Depending on your settings, you can change how the views are displayed. According to Android's FrameLayout,
The size of the frame layout is the
size of its largest child (plus
padding), visible or not (if the
FrameLayout's parent permits).
Also, from Common Layout Objects
FrameLayout is the simplest type of
layout object. It's basically a blank
space on your screen that you can
later fill with a single object — for
example, a picture that you'll swap in
and out. All child elements of the
FrameLayout are pinned to the top left
corner of the screen; you cannot
specify a different location for a
child view. Subsequent child views
will simply be drawn over previous
ones, partially or totally obscuring
them (unless the newer object is
transparent).
In your example, the image in a FrameLayout
will not be stretched to the dimensions of it's largest sibling, irrespective of using fill_parent
or wrap_content
.