mirror of
https://gitee.com/shuto/customCamera.git
synced 2026-05-02 00:07:24 +08:00
23 lines
663 B
XML
23 lines
663 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"
|
|
android:layout_weight="1"
|
|
/>
|
|
|
|
<Button
|
|
android:id="@+id/button_capture"
|
|
android:text="Capture"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
/>
|
|
|
|
</RelativeLayout>
|