詹子聪 5 سال پیش
والد
کامیت
c12c656dd0
1فایلهای تغییر یافته به همراه4 افزوده شده و 2 حذف شده
  1. 4 2
      app/src/main/res/layout/activity_camera.xml

+ 4 - 2
app/src/main/res/layout/activity_camera.xml

@@ -60,7 +60,7 @@
             <FrameLayout
                 android:layout_width="wrap_content"
                 android:layout_height="0dp"
-                android:layout_weight="4">
+                android:layout_weight="370">
                 <!--灰色遮罩-->
                 <com.miekir.ocr.widget.CropView
                     android:id="@+id/pcv_scan"
@@ -79,10 +79,12 @@
                 android:layout_width="match_parent"
                 android:layout_height="0.8dp"
                 android:background="@color/white"/>
+
+
             <LinearLayout
                 android:layout_width="match_parent"
                 android:layout_height="0dp"
-                android:layout_weight="3"
+                android:layout_weight="180"
                 android:orientation="vertical"
                 android:background="@color/black_transparent">
                 <LinearLayout