第一次提交

This commit is contained in:
被淹死的鱼
2026-03-11 18:26:29 +08:00
commit cd3b53759e
8532 changed files with 522078 additions and 0 deletions

View File

@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:tools="http://schemas.android.com/tools"
android:background="#000">
<SurfaceView
android:id="@+id/surfaceView"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<!--<com.cs.camerademo.view.AutoFitTextureView-->
<!--android:id="@+id/textureView"-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="wrap_content" />-->
<ImageView
android:scaleType="center"
android:src="@mipmap/camear_mask"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<ImageView
android:layout_margin="16dp"
android:layout_above="@id/rlBottom"
android:src="@mipmap/camera_example"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<RelativeLayout
android:background="@color/black"
android:id="@+id/rlBottom"
android:layout_width="match_parent"
android:layout_height="90dp"
android:layout_alignParentBottom="true"
app:layout_constraintBottom_toBottomOf="parent">
<TextView
android:id="@+id/cancelBtn"
android:layout_marginLeft="16dp"
android:layout_centerVertical="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="取消"
android:textColor="#ffffffff"
android:textSize="16sp"
/>
<ImageButton
android:background="@null"
android:id="@+id/btnTakePic"
android:layout_width="64dp"
android:layout_height="64dp"
android:layout_centerInParent="true"
android:src="@mipmap/camera_tackpic"
android:visibility="visible" />
</RelativeLayout>
</RelativeLayout>