How can I set one layout components height to the same as another component: example: Can I set android:layout_height="@+id/info_box.height" or do something similar?
I want the height of the ImageView to match that of my LinearLayout
<ImageView android:id="@+id/border"
android:src="@drawable/frame"
android:layout_below="@+id/title"
android:layout_width="fill_parent"
android:layout_height="????"
android:scaleType="fitXY"
android:drawingCacheQuality="auto"
/>
<LinearLayout
android:id="@+id/info_box"
android:orientation="vertical"
android:layout_below="@+id/title"
android:background="@layout/my_bg"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
>
... other stuff . .
</LinearLayout>
RelativeLayout
and its relative alignments – Windstorm