From fa1a77e3f95e5789c01a6dd542ac24e53b9515af Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期六, 22 六月 2024 09:14:54 +0800 Subject: [PATCH] 2024年06月22日09:14:46 --- app/src/main/res/layout/activity_fast_scan.xml | 81 +++++++++++++++++++++------------------- 1 files changed, 42 insertions(+), 39 deletions(-) diff --git a/app/src/main/res/layout/activity_fast_scan.xml b/app/src/main/res/layout/activity_fast_scan.xml index 665841b..2543b99 100644 --- a/app/src/main/res/layout/activity_fast_scan.xml +++ b/app/src/main/res/layout/activity_fast_scan.xml @@ -5,6 +5,48 @@ android:layout_height="match_parent" android:background="#00000000"> + + <SurfaceView + android:id="@+id/new_capture_preview" + android:layout_width="300dp" + android:layout_height="300dp" + android:layout_centerInParent="true" + android:background="#00000000" /> + + <RelativeLayout + android:id="@+id/new_capture_crop_view" + android:layout_width="300dp" + android:layout_height="300dp" + android:layout_centerInParent="true" + android:background="@drawable/scan_capture"> + + <RelativeLayout + android:layout_width="match_parent" + android:layout_height="367dp" + android:layout_marginTop="182dp"> + + <ImageView + android:id="@+id/new_capture_scan_line" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_alignParentTop="true" + android:layout_marginTop="5dp" + android:layout_marginBottom="5dp" + android:src="@drawable/scan_line" /> + </RelativeLayout> + + </RelativeLayout> + + <ImageView + android:id="@+id/new_light_iv" + android:layout_width="127dp" + android:layout_height="127dp" + android:layout_alignParentBottom="true" + android:layout_centerInParent="true" + android:layout_marginBottom="13dp" + android:background="@drawable/fast_scan_light_close" /> + + <RelativeLayout android:id="@+id/new_top_bar_view" android:layout_width="match_parent" @@ -65,44 +107,5 @@ </LinearLayout> </RelativeLayout> - - <SurfaceView - android:id="@+id/new_capture_preview" - android:layout_width="300dp" - android:layout_height="300dp" - android:layout_centerInParent="true" /> - - <RelativeLayout - android:id="@+id/new_capture_crop_view" - android:layout_width="300dp" - android:layout_height="300dp" - android:layout_centerInParent="true" - android:background="@drawable/scan_capture"> - - <RelativeLayout - android:layout_width="match_parent" - android:layout_height="367dp" - android:layout_marginTop="182dp"> - - <ImageView - android:id="@+id/new_capture_scan_line" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_alignParentTop="true" - android:layout_marginTop="5dp" - android:layout_marginBottom="5dp" - android:src="@drawable/scan_line" /> - </RelativeLayout> - - </RelativeLayout> - - <ImageView - android:id="@+id/new_light_iv" - android:layout_width="127dp" - android:layout_height="127dp" - android:layout_alignParentBottom="true" - android:layout_centerInParent="true" - android:layout_marginBottom="13dp" - android:background="@drawable/fast_scan_light_close" /> </RelativeLayout> \ No newline at end of file -- Gitblit v1.8.0