mirror of
https://gitee.com/shuto/customCamera.git
synced 2026-05-02 00:07:24 +08:00
30 lines
915 B
XML
30 lines
915 B
XML
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:context="org.geneanet.testcustomcamera.CameraView" >
|
|
|
|
<FrameLayout
|
|
android:id="@+id/camera_preview"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent">
|
|
</FrameLayout>
|
|
|
|
<ImageView
|
|
android:id="@+id/imageView2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:alpha="0.5"
|
|
android:contentDescription="@string/sss"
|
|
android:src="@drawable/labs" />
|
|
|
|
<Button
|
|
android:id="@+id/button_capture"
|
|
android:text="@string/capture"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
/>
|
|
|
|
</RelativeLayout>
|