修改图片分辨率

This commit is contained in:
wangdongsheng
2021-08-31 16:39:50 +08:00
parent add1d841fe
commit e4d6924c9e
4 changed files with 22 additions and 42 deletions

View File

@@ -16,8 +16,12 @@
android:id="@+id/camera"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:cameraPictureSizeMaxArea="1200000"
app:cameraPictureSizeMaxWidth="1080"
app:cameraPictureSizeMaxArea="1000000"
app:cameraPictureSizeMinArea="600000"
app:cameraPictureSizeMaxWidth="960"
app:cameraPictureSizeMinHeight="720"
app:cameraPictureSizeMinWidth="720"
app:cameraPictureSizeMaxHeight="960"
android:keepScreenOn="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toTopOf="parent" />