|
|
@@ -1,5 +1,6 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
android:id="@+id/activity_main"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
@@ -38,16 +39,9 @@
|
|
|
|
|
|
<com.miekir.ocr.view.AutoFitTextureView
|
|
|
android:id="@+id/textureView"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent" />
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
@@ -58,25 +52,25 @@
|
|
|
android:id="@+id/civ_crop"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp"
|
|
|
- android:layout_weight="4"/>
|
|
|
+ android:layout_weight="4"
|
|
|
+ app:cropAutoZoomEnabled="false"
|
|
|
+ app:cropMaxZoom="1"/>
|
|
|
<!--<com.miekir.ocr.view.cropper.CropOverlayView
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp"
|
|
|
android:layout_weight="4"/>-->
|
|
|
|
|
|
|
|
|
+ <View
|
|
|
+ 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:orientation="vertical"
|
|
|
android:background="@color/black_transparent">
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="0.8dp"
|
|
|
- android:background="@color/white"/>
|
|
|
-
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
@@ -248,7 +242,5 @@
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
|
-
|
|
|
-
|
|
|
</FrameLayout>
|
|
|
</LinearLayout>
|