카메라 미리보기에서 아래 그림과 같은 오버레이를 구현하고 싶습니다. 이 같은 Android 카메라 미리보기에 오버레이가 있음
내 XML의 모양을
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:baselineAligned="false"
android:orientation="horizontal" >
<FrameLayout
android:id="@+id/camera_preview"
android:layout_width="match_parent"
android:layout_height="399dp" >
</FrameLayout>
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_below="@+id/camera_preview"
android:layout_marginLeft="35dp"
android:text="@string/share" />
<Button
android:id="@+id/button_capture"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/button1"
android:layout_alignParentRight="true"
android:layout_alignTop="@+id/button1"
android:layout_marginRight="38dp"
android:text="@string/capture" />
</RelativeLayout>
내가 FrameLayout이 에 목록보기를 사용하려고하면이 내 코드를 실행 한 후 그것을 카메라 미리보기를 표시하지 않습니다. 카메라 미리보기에서 어떻게 그러한 오버레이를 가질 수 있습니까?