개발 초보다 보니 아이폰의 네비게이션바나 툴바와 같은 형태가 없는거 같아서요.
직접 레이아웃으로 처리를 해줬습니다.
폰을 검사를 해보니 480, 800 이라서요. 1.5 스케일인듯 합니다.
그래서 직접 레이아웃에 아래의 코드와 같이 상단에 툴바, 가운데 뷰, 하단에 툴바 형태로 구성을 했습니다.
이 상태에서 회전을 하게 되면 뷰까지만 보이고 하단 툴바가 보이지 않는데요.
이럴 경우 레이아웃을 어떻게 설정해 줘야 하는지 잘 모르겠습니다.
혹. 이런 경우 회전을 감지해서 수동으로 코딩에서 height를 처리해줘야 하는건가요?
<?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">
<!-- 상단 툴바 -->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="50dp"
android:background="#66666666"
android:paddingTop="7dip">
--- 내용 ---
</RelativeLayout>
<!-- 내용 -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="433dp"
android:background="#FFFFFF">
--- 내용 ---
</LinearLayout>
<!-- 하단 툴바 -->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="50dp"
android:background="#66666666"
android:paddingTop="3dip">
--- 내용 ---
</RelativeLayout>
</LinearLayout>




상단툴바는 위에 붙도록 하고
내용은 layout_below="@+id/..." 속성으로 상단 툴바 아래에 붙이고...
하단 툴바는 아래 붙도록 처리하면
화면의 가로/세로 모드에 상관없이 상/하단바 잘 표시됩니다.
내용의 layout_height="fill_parent" 로 하고 layout_marginBottom="..." 은 하단 툴바의 높이만큼 지정해줘야 하단 툴바와 겹치지 않습니다. ^^