Как я могу установить одну высоту компонентов макета такой же, как у другого компонента: пример: можно ли установить android: layout_height = "@ + id / info_box.height" или сделать что-то подобное?
Я хочувысота ImageView, соответствующая моей 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>