Browse Source

optimize preview alignment

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 3 years ago
parent
commit
c78967b6b1
1 changed files with 1 additions and 0 deletions
  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