안녕하세요
안드로이드를 처음 접하게 된 초보자 입니다..
프레임 레이 아웃을 어느정도는 이해 하는데... 제가 만들려는 부분의 프레임 아웃이 너무 복잡해서인지.. 어떻게 해야될지 모르겠어요..
사진은 첨부 파일로 첨부 하였구요...
제가 문의 할 내용은
3개의 레이아웃으로 나눴는데요.. 아래 제일 흰부분(이미지 고정 할 부분)
과
아마두 레이아웃 넣어야될 부분 이라고 적힌곳은 위에 스피너에서 선택 하면 그내용이 보여주는 곳입니다..
어떻게 해봐도 답이 않되네요.. 고수님들 도와주세요...
제소스는
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#000000"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:textColor="#ffffff"
android:text="원하시는 지역을 선택하세요"
/>
<TableLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_gravity="bottom"
>
<TableRow >
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textColor="#ffffff"
android:text="목적지"
/>
<Spinner
android:id="@+id/intercitybus_state"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:prompt="@string/selinnerstate_prompt"
/>
<Spinner
android:id="@+id/intercitybus_area"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:prompt="@string/selinnerarea_prompt"
/>
</TableRow>
</TableLayout>
<View
android:layout_width="fill_parent"
android:layout_height="3dip"
android:background="#cccccc"
/>
<LinearLayout
android:id="@+id/page1"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="600dip"
android:background="#ffff00"
android:layout_gravity="bottom"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="장소랑 들어갈 자리"
/>
<RelativeLayout
android:id="@+id/page2"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="600dip"
android:background="#ffff00"
>
<ImageView
android:src="@drawable/sinng"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>
</RelativeLayout>
</LinearLayout>
</LinearLayout>