안녕하세요 ~

카메라 Preview 까지는 띄웠습니다

Imageview 도 <android:visibility="invisible"> 로 숨겨 놓았구요

제가 궁금한것은 Preview 가되서 카메라가 구동할때

이 preview 위에 오른쪽 밑에 버튼을 하나 넣고 싶은데요 ~~

아무리 Framelayout 을 쓰고 , 해도

framelayout 만큼의  width를 잡아 먹어서 preview 영상이 조금 작아지더군요 ㅠ

어떻게 방법이 없을까요 ?

아래는 소스 입니다.

<?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:id="@+id/imgreview"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:visibility="invisible"
 />
 
 
<LinearLayout 
    android:id="@+id/takepicture"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    >
<exam.multimedia.SHCameraSurface
    android:id="@+id/preview"
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent"
    android:layout_weight="3" 
    />

</LinearLayout>
</FrameLayout>