<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<ImageView
android:id="@+id/imageView1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_margin="10dp"
android:src="@drawable/whale"/>
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/imageView1"
android:text="button1" />
<Button
android:id="@+id/button2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/imageView1"
android:layout_toRightOf="@id/button1"
android:text="button2" />
</RelativeLayout>
이미지를 맨위에 띄우고 그 밑에 버튼 2개씩 쓰려고 하는데 ..
이미지가 화면 중간에 뜨고 버튼은 안뜨네요..
또 이미지를 안띄워보면 버튼은 제대로 나오는데 ...
아 뭐가 문제일까요 ㅠㅠ