우선 감을 못잡아서 생각나는대로 잡아봤는데요..

우선 원하는 화면 구성은 아래와 같이 구성 하고 싶습니다.

상단에 카메라 뷰가 나타나고 하단에 사진찍기 등..이미지 버튼이 나타나고요..


캡처.PNG

기본 레이아웃은 LinearLayout으로 잡았습니다.

그리고 안에 FrameLayout과 TableLayout을 배치 시켰습니다.

FrameLayout에 카메라뷰(SurfaceView)를 addView해서 셋팅해줬습니다.

그러니 카메라가 전체화면에 나오는데요..

아래 테이블뷰는 안나오고요..(가려서 안나오는듯 합니다.)

하단에 테이블뷰를 노출시킬수 있는 방법이 있을지요?

activity코드는 
FrameLayout frameLayout = (FrameLayout)findViewById(R.id.camera_frame);
/* Create our Preview view and set it as the content of our activity. */
cameraSurfaceView = new CameraSurfaceView(getApplicationContext());
frameLayout.addView(cameraSurfaceView);

이렇게 했습니다.



<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

    android:orientation="vertical"

    android:layout_width="fill_parent"

    android:layout_height="fill_parent"

    >







<FrameLayout

xmlns:android="http://schemas.android.com/apk/res/android"

android:layout_width="fill_parent"

android:layout_height="wrap_content"

android:layout_gravity="center"

android:id="@+id/camera_frame"

/>




<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"

android:id="@+id/myTableLayout"

android:layout_width="fill_parent"

android:layout_height="fill_parent">

<TableRow

android:layout_width="fill_parent"

android:layout_height="wrap_content">

<ImageView

android:id="@+id/cf_camera_img"

android:src="@drawable/icon"

android:layout_width="35px"

android:layout_height="35px"

/>

</TableRow>

</TableLayout>




</LinearLayout>