제가 바탕 화면에 사진을 넣고 그 사진위에 버튼을 올리는 연습을 하고 있는데요 버튼위치가 중복이 되어서 버튼1이 버튼2의 이미지
밑에 깔려서 보이지가 않는 상태입니다.
버튼을 제가 원하는 위치(좌표)에 배치 시킬려면 어떤 명령문들이 추가로 필요한가요?
그리고 버튼을 포토샵으로 만든 이미지로 대체하고 싶은데 어떤 방식으로 가능한지도 질문좀 드리겠습니다.
------------------------------------------------------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<ImageView
android:layout_width="fill_parent"
android:layout_height="468dp"
android:src="@drawable/caca" />
<Button android:text="메뉴1"
android:id="@+id/Button01"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<Button android:text="메뉴2"
android:id="@+id/Button02"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</Button>
</FrameLayout>
-----------------------------------------------------------------------------------------------------------------------------------------------




프래임레이아웃에서의 자식 뷰들의 위치는 디폴트로 좌측 상단입니다.
자식 뷰들의 padding 이나 margin을 조정하면 원하는 위치로 이동이야 가능하겠지만...
멀티뷰 지원이나 화면 좌우 전환에 불리하죠
차라리 LinearLayout을 깔고 background를 해당 이미지로 넣는는 어떠세요?