Browse Source

optimize preview alignment

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 3 năm trước cách đây
mục cha
commit
c78967b6b1
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      app/src/main/res/layout/activity_take_picture.xml

+ 1 - 0
app/src/main/res/layout/activity_take_picture.xml

@@ -39,6 +39,7 @@
         android:layout_width="match_parent"
         android:layout_height="match_parent"
         android:contentDescription="@null"
+        android:scaleType="fitStart"
         android:visibility="invisible" />
 
     <com.google.android.material.button.MaterialButton