まず、あなたの3枚の前景画像が直線的に配置され、その横LinearLayout
に入れています。その後、ImageViewに背景画像を保持させ、LinearLayoutをImageViewの端に合わせるように設定します。 ImageViewのサイズは画像の内容によって決まります。
すなわち:
<RelativeLayout>
<ImageView android:id="@+id/background"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/instruction_background"
/>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:alignLeft="@id/background"
android:alignTop="@id/background"
android:alignRight="@id/background"
android:alignBottom="@id/background"
>
<ImageView ... />
<ImageView ... />
<ImageView ... />
</LinearLayout>
</RelativeLayout>
ですから、あなたの背景画像の高さは、まさにの絶頂を決定したいですか?私はそれを実際に得ていない。 –
背景の高さでレイアウトの高さを決定したい。また、前景画像は、高さが背景画像の高さよりも大きい場合、自動的に縮小されます。 – Gratzi