<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/scrollView1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
>
<RelativeLayout
android:id="@+id/relativeLayout1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/counsel"
>
<ImageButton
android:id="@+id/imageButton1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="100dp"
android:background="#00000000"
android:src="@drawable/btn_counsel" />
</RelativeLayout>
</ScrollView>
현재 이렇게 되있습니다. 스크롤뷰 안에 릴레이티브레이아웃 넣고 릴레이티브레이아웃 안에 이미지 버튼을 넣었습니다.
그런데 이미지버튼이 원하는곳에 위치가 안됩니다. 보통 릴레이티브로 하면 원하는위치에 버튼이 딲딱 놓이게 되자나요
자꾸 어딜놓든 자동으로 하단으로 버튼이 배치되네요ㅠ
android:layout_alignParentBottom="true"