레이아웃을 구성하고 있습니다...
앞에 그림(main_1)처럼 해야되는데
자꾸 뒤에그림(main_2)처럼되네요..
화면밖으로 간거는 짤려버려요..
레이아웃 xml 에서 수정해야될거같은데 계속 고민을 해보고 이것저것 해봤는데도 안되네요..
도와주세요..............
<?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"
>
<ImageView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:src="@drawable/main"
/>
<TableLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal|bottom"
>
<TableRow>
<Button
android:id="@+id/main_btn_01"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/main_btn_01"
/>
<Button
android:id="@+id/main_btn_02"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/main_btn_02"
/>
</TableRow>
<TableRow>
<Button
android:id="@+id/main_btn_03"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/main_btn_03"
/>
<Button
android:id="@+id/main_btn_04"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/main_btn_04"
/>
</TableRow>
</TableLayout>
</FrameLayout>
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res/net.choco.maxus"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ImageView
android:background="@drawable/background"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
/>
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout
android:id="@+id/menucross"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:gravity="center"
android:orientation="horizontal">
<Button
android:id="@+id/Button02"
android:layout_width="99.5dp"
android:layout_height="80dp"
android:background="@drawable/main_btn_03"
android:layout_margin = "3dp"
/>
<Button
android:id="@+id/Button03"
android:layout_width="99.5dp"
android:layout_height="80dp"
android:background="@drawable/main_btn_04"
android:layout_margin = "3dp"
/>
</LinearLayout>
<LinearLayout
android:id="@+id/menucross2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@id/menucross"
android:orientation="horizontal">
<Button
android:id="@+id/Button02"
android:layout_width="99.5dp"
android:layout_height="80dp"
android:background="@drawable/main_btn_01"
android:layout_margin = "3dp"
/>
<Button
android:id="@+id/Button03"
android:layout_width="99.5dp"
android:layout_height="80dp"
android:background="@drawable/main_btn_02"
android:layout_margin = "3dp"
/>
</LinearLayout>
</RelativeLayout>
</FrameLayout>



