안드로이드 개발 질문/답변
(글 수 45,052)
그림이 현재 구현된 레이아웃인데요.
전화번호부를 불러와서 체크된것들을 읽어들여서 한번에 DB 에 저장하는 구현입니다.
그런데 레이아웃이 중첩을 어떻게 해야 하는지 잘 모르겠습니다.
밑에 버튼을 2개 추가 시키고 싶습니다. 방법을 알려주세요.
XML 안에 버튼을 넣어봤지만 밑에 고정된 버튼이 아니라 각 전화번호부를 출력시키는 모든 부분의 중간에 버튼들이 만들어지더라고요.
xml 파일또한 링크 시킵니다.




<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" > <Button android:id="@+id/button" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:text="BUTTON" /> <LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_above="@id/button" > <!-- 추가할 View --> </LinearLayout> </RelativeLayout>